moar vim tweaks
This commit is contained in:
parent
a5a9888d22
commit
017efc558b
2 changed files with 4 additions and 3 deletions
|
@ -15,6 +15,7 @@ Plug 'junegunn/vim-easy-align'
|
||||||
Plug 'mhinz/vim-signify'
|
Plug 'mhinz/vim-signify'
|
||||||
Plug 'nvie/vim-togglemouse'
|
Plug 'nvie/vim-togglemouse'
|
||||||
Plug 'tpope/vim-fugitive'
|
Plug 'tpope/vim-fugitive'
|
||||||
|
Plug 'tpope/vim-sleuth'
|
||||||
Plug 'vimwiki/vimwiki'
|
Plug 'vimwiki/vimwiki'
|
||||||
|
|
||||||
" IDE liek, per filetype
|
" IDE liek, per filetype
|
||||||
|
|
6
vimrc
6
vimrc
|
@ -1,6 +1,6 @@
|
||||||
" various settings
|
" various settings
|
||||||
set nobackup number nomodeline cursorline backspace=indent,eol,start
|
set nobackup number nomodeline cursorline backspace=indent,eol,start
|
||||||
set foldmethod=marker ttymouse=xterm2 mouse=
|
set formatoptions+=j foldmethod=marker ttymouse=xterm2 mouse=
|
||||||
" hidden characters
|
" hidden characters
|
||||||
set list listchars=tab:\|_,nbsp:x,trail:*
|
set list listchars=tab:\|_,nbsp:x,trail:*
|
||||||
" search
|
" search
|
||||||
|
@ -59,8 +59,8 @@ nmap <Leader>P "+P
|
||||||
vmap <Leader>p "+p
|
vmap <Leader>p "+p
|
||||||
vmap <Leader>P "+P
|
vmap <Leader>P "+P
|
||||||
"move macro somewhere I won't accidentally use it
|
"move macro somewhere I won't accidentally use it
|
||||||
nnoremap Q q
|
noremap Q q
|
||||||
nnoremap q <Nop>
|
noremap q <Nop>
|
||||||
"quit / save
|
"quit / save
|
||||||
nnoremap qq :q<CR>
|
nnoremap qq :q<CR>
|
||||||
nnoremap qf :q!<CR>
|
nnoremap qf :q!<CR>
|
||||||
|
|
Loading…
Reference in a new issue