tweaks
This commit is contained in:
parent
47f4f23705
commit
fc3d7050fa
|
@ -329,16 +329,16 @@ endif
|
||||||
hi VertSplit ctermfg=16 ctermbg=16 term=none cterm=none
|
hi VertSplit ctermfg=16 ctermbg=16 term=none cterm=none
|
||||||
hi Folded ctermfg=243 ctermbg=232 cterm=bold term=bold
|
hi Folded ctermfg=243 ctermbg=232 cterm=bold term=bold
|
||||||
hi FoldColumn ctermfg=239 ctermbg=none cterm=bold term=bold
|
hi FoldColumn ctermfg=239 ctermbg=none cterm=bold term=bold
|
||||||
hi LineNr ctermfg=239 ctermbg=none cterm=none
|
hi LineNr ctermfg=237 ctermbg=none cterm=none
|
||||||
hi CursorLineNr ctermfg=243 ctermbg=none cterm=none
|
hi CursorLineNr ctermfg=243 ctermbg=none cterm=none
|
||||||
hi EndOfBuffer ctermfg=233 ctermbg=none
|
hi EndOfBuffer ctermfg=233 ctermbg=none
|
||||||
hi ColorColumn ctermbg=233
|
hi ColorColumn ctermbg=233
|
||||||
hi SignColumn ctermfg=255 ctermbg=none
|
hi SignColumn ctermfg=255 ctermbg=none
|
||||||
|
|
||||||
augroup linenrcolor
|
augroup linenrcolor
|
||||||
au InsertEnter * hi LineNr ctermfg=236
|
au InsertEnter * hi LineNr ctermfg=235
|
||||||
au InsertEnter * hi CursorLineNr ctermfg=248
|
au InsertEnter * hi CursorLineNr ctermfg=250
|
||||||
au InsertLeave * hi LineNr ctermfg=239
|
au InsertLeave * hi LineNr ctermfg=237
|
||||||
au InsertLeave * hi CursorLineNr ctermfg=243
|
au InsertLeave * hi CursorLineNr ctermfg=243
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
|
|
9
vimrc
9
vimrc
|
@ -126,9 +126,6 @@ set foldcolumn=2
|
||||||
" key mappings
|
" key mappings
|
||||||
let g:mapleader = "\<space>"
|
let g:mapleader = "\<space>"
|
||||||
|
|
||||||
nnoremap j gj
|
|
||||||
nnoremap k gk
|
|
||||||
|
|
||||||
" jk acts as escape in insert
|
" jk acts as escape in insert
|
||||||
inoremap jk <esc>
|
inoremap jk <esc>
|
||||||
|
|
||||||
|
@ -172,6 +169,8 @@ nnoremap <leader>qfh :chistory<CR>
|
||||||
nnoremap <leader>qfp :colder<CR>
|
nnoremap <leader>qfp :colder<CR>
|
||||||
nnoremap <leader>qfn :cnewer<CR>
|
nnoremap <leader>qfn :cnewer<CR>
|
||||||
|
|
||||||
|
nnoremap <leader>nh :noh<CR>
|
||||||
|
|
||||||
" quick grep of visual selection
|
" quick grep of visual selection
|
||||||
vnoremap <leader>gr y:grep! -R <C-r>" .
|
vnoremap <leader>gr y:grep! -R <C-r>" .
|
||||||
|
|
||||||
|
@ -194,6 +193,8 @@ inoremap [[[ [<CR>]<esc>O
|
||||||
|
|
||||||
inoremap ;; ;<esc>
|
inoremap ;; ;<esc>
|
||||||
|
|
||||||
|
nmap <leader>nn :set invrelativenumber<CR>
|
||||||
|
|
||||||
" abbreviations
|
" abbreviations
|
||||||
iabbrev adn and
|
iabbrev adn and
|
||||||
iabbrev waht what
|
iabbrev waht what
|
||||||
|
@ -238,6 +239,8 @@ set laststatus=2
|
||||||
set foldmethod=manual
|
set foldmethod=manual
|
||||||
|
|
||||||
set autoindent
|
set autoindent
|
||||||
|
set breakindent
|
||||||
|
set showbreak=>>>
|
||||||
|
|
||||||
syntax on
|
syntax on
|
||||||
set mouse=a
|
set mouse=a
|
||||||
|
|
Loading…
Reference in New Issue