Color tweak, added begend
This commit is contained in:
3
.vim/templates/begend
Normal file
3
.vim/templates/begend
Normal file
@@ -0,0 +1,3 @@
|
||||
#---- Begin
|
||||
|
||||
#---- End
|
||||
11
.vimrc
11
.vimrc
@@ -100,7 +100,7 @@ colorscheme advantage
|
||||
highlight colorcolumn ctermbg=darkgray guibg=darkgray
|
||||
highlight VertSplit ctermbg=black guibg=black ctermfg=darkgray guifg=darkgray
|
||||
highlight cursorcolumn cterm=NONE ctermbg=darkblue ctermfg=white guibg=darkred guifg=white
|
||||
highlight Visual ctermbg=darkblue ctermfg=white gui=none
|
||||
highlight visual cterm=NONE ctermbg=darkred ctermfg=white guibg=darkred guifg=white
|
||||
|
||||
|
||||
" In split windows - active buffer status bar is yellow, inactive is black
|
||||
@@ -129,6 +129,8 @@ set statusline+=\ %P " percent through file
|
||||
|
||||
" turn off search hilight
|
||||
nnoremap <leader><space> :nohls <enter>
|
||||
" toggle row/column cursor
|
||||
nnoremap <Leader>c :set cursorline! cursorcolumn!<CR>
|
||||
|
||||
" ---------------------------------------------------------------------------------------------------------------------
|
||||
" ==> Keymaps: Buffers
|
||||
@@ -177,10 +179,6 @@ imap <F2> <C-R>=strftime("%Y-%m-%d %H:%M:%S")<CR>
|
||||
imap <F3> <C-R>=strftime("%Y-%m-%d %a")<CR>
|
||||
imap <F4> <C-R>=strftime("%H:%M")<CR>
|
||||
|
||||
" ---------------------------------------------------------------------------------------------------------------------
|
||||
" ==> Toggle row/column cursor
|
||||
"
|
||||
nnoremap <Leader>c :set cursorline! cursorcolumn!<CR>
|
||||
|
||||
" ---------------------------------------------------------------------------------------------------------------------
|
||||
" ==> Spellcheck
|
||||
@@ -220,6 +218,9 @@ autocmd BufRead,BufNewFile *.txt setlocal spell
|
||||
" section banner
|
||||
nnoremap ,ban :-1read $HOME/.vim/templates/banner<CR>jA
|
||||
|
||||
" section begin/end
|
||||
nnoremap ,begend :-1read $HOME/.vim/templates/begend<CR>jA
|
||||
|
||||
" ---------------------------------------------------------------------------------------------------------------------
|
||||
" ==> Templates
|
||||
" Doing special things with certain filetypes
|
||||
|
||||
Reference in New Issue
Block a user