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 'nvie/vim-togglemouse'
|
||||
Plug 'tpope/vim-fugitive'
|
||||
Plug 'tpope/vim-sleuth'
|
||||
Plug 'vimwiki/vimwiki'
|
||||
|
||||
" IDE liek, per filetype
|
||||
|
|
6
vimrc
6
vimrc
|
@ -1,6 +1,6 @@
|
|||
" various settings
|
||||
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
|
||||
set list listchars=tab:\|_,nbsp:x,trail:*
|
||||
" search
|
||||
|
@ -59,8 +59,8 @@ nmap <Leader>P "+P
|
|||
vmap <Leader>p "+p
|
||||
vmap <Leader>P "+P
|
||||
"move macro somewhere I won't accidentally use it
|
||||
nnoremap Q q
|
||||
nnoremap q <Nop>
|
||||
noremap Q q
|
||||
noremap q <Nop>
|
||||
"quit / save
|
||||
nnoremap qq :q<CR>
|
||||
nnoremap qf :q!<CR>
|
||||
|
|
Loading…
Reference in a new issue