add .vimrc changes from laptop
This commit is contained in:
12
.vimrc
12
.vimrc
@@ -1,3 +1,7 @@
|
|||||||
|
|
||||||
|
" Save swap and undo and backup files in separate directory
|
||||||
|
set directory=$HOME/.vim/swapfiles//
|
||||||
|
set backupdir=$HOME/.vim/backups//
|
||||||
call plug#begin()
|
call plug#begin()
|
||||||
|
|
||||||
" Language Server Protocol
|
" Language Server Protocol
|
||||||
@@ -17,6 +21,9 @@ call plug#end()
|
|||||||
" Line numbers
|
" Line numbers
|
||||||
set number
|
set number
|
||||||
|
|
||||||
|
" Automatically reload file changes from disk
|
||||||
|
set autoread
|
||||||
|
|
||||||
" Disable Ex mode
|
" Disable Ex mode
|
||||||
noremap Q <nop>
|
noremap Q <nop>
|
||||||
|
|
||||||
@@ -54,6 +61,10 @@ noremap gl :bnext!<CR>
|
|||||||
noremap gh :bprevious!<CR>
|
noremap gh :bprevious!<CR>
|
||||||
noremap gd :bdelete!<CR>
|
noremap gd :bdelete!<CR>
|
||||||
|
|
||||||
|
" Termdebug
|
||||||
|
let g:termdebug_popup = 0
|
||||||
|
let g:termdebug_wide = 163
|
||||||
|
|
||||||
" The souls of a thousand nerds torment me as I make the mouse more useful
|
" The souls of a thousand nerds torment me as I make the mouse more useful
|
||||||
set mouse=a
|
set mouse=a
|
||||||
|
|
||||||
@@ -114,3 +125,4 @@ colorscheme melange
|
|||||||
set directory=$HOME/.vim/swapfiles//
|
set directory=$HOME/.vim/swapfiles//
|
||||||
set backupdir=$HOME/.vim/backups//
|
set backupdir=$HOME/.vim/backups//
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user