Add bracey settings and mouse support

This commit is contained in:
2021-10-02 23:02:03 +03:00
parent 183a4b8f1c
commit 1a93941c28

View File

@@ -21,6 +21,7 @@ Plug 'akinsho/bufferline.nvim'
Plug 'tc50cal/vim-terminal'
Plug 'alvan/vim-closetag'
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'turbio/bracey.vim', { 'do': 'npm install --prefix server' }
call plug#end()
@@ -30,6 +31,7 @@ syntax on
set number
set tabstop=2
set softtabstop=2
set shiftwidth=2
set smartindent
set expandtab
@@ -42,6 +44,7 @@ set nowritebackup
set cmdheight=2
set updatetime=300
set shortmess+=c
set mouse=nv
set termguicolors
@@ -58,6 +61,20 @@ colorscheme ayu " ayu/sonokai/material
" Color highlighting
lua require'colorizer'.setup()
" let g:clipboard = {
" \ 'name': 'clipboard',
" \ 'copy': {
" \ '+': 'xclip -selection clipboard',
" \ '*': 'xclip -selection clipboard'
" \ },
" \ 'paste': {
" \ '+': 'xclip -selection clipboard -o',
" \ '*': 'xclip -selection -clipboard -o'
" \ },
" \ 'cache_enabled': 1,
" \ }
" ____ _____ __ __ _ ____ ____
@@ -79,6 +96,7 @@ vnoremap J :m '>+1<CR>gv=gv
" ____ ___ ____ _ ___ _____ __ __
" / ___/ _ \ / ___| | \ | \ \ / /_ _| \/ |
" | | | | | | | | \| |\ \ / / | || |\/| |
@@ -234,6 +252,11 @@ let g:closetag_regions = {
\ 'javascriptreact': 'jsxRegion',
\ }
let g:bracey_refresh_on_save = 1
let g:bracey_server_allow_remote_connections = 1
let g:bracey_server_port = 3000
let g:bracey_eval_on_save = 1
" _____ _ _ ____________ __ _____ ___ _ _ ____ _____ ____