Add bracey settings and mouse support
This commit is contained in:
@@ -21,6 +21,7 @@ Plug 'akinsho/bufferline.nvim'
|
|||||||
Plug 'tc50cal/vim-terminal'
|
Plug 'tc50cal/vim-terminal'
|
||||||
Plug 'alvan/vim-closetag'
|
Plug 'alvan/vim-closetag'
|
||||||
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
|
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
|
||||||
|
Plug 'turbio/bracey.vim', { 'do': 'npm install --prefix server' }
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
@@ -30,6 +31,7 @@ syntax on
|
|||||||
set number
|
set number
|
||||||
|
|
||||||
set tabstop=2
|
set tabstop=2
|
||||||
|
set softtabstop=2
|
||||||
set shiftwidth=2
|
set shiftwidth=2
|
||||||
set smartindent
|
set smartindent
|
||||||
set expandtab
|
set expandtab
|
||||||
@@ -42,6 +44,7 @@ set nowritebackup
|
|||||||
set cmdheight=2
|
set cmdheight=2
|
||||||
set updatetime=300
|
set updatetime=300
|
||||||
set shortmess+=c
|
set shortmess+=c
|
||||||
|
set mouse=nv
|
||||||
|
|
||||||
set termguicolors
|
set termguicolors
|
||||||
|
|
||||||
@@ -58,6 +61,20 @@ colorscheme ayu " ayu/sonokai/material
|
|||||||
" Color highlighting
|
" Color highlighting
|
||||||
lua require'colorizer'.setup()
|
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',
|
\ '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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
" _____ _ _ ____________ __ _____ ___ _ _ ____ _____ ____
|
" _____ _ _ ____________ __ _____ ___ _ _ ____ _____ ____
|
||||||
|
|||||||
Reference in New Issue
Block a user