Color tweak, added begend

This commit is contained in:
2019-09-17 18:27:53 -04:00
parent 1e9e910bd0
commit ec57cf008d
2 changed files with 9 additions and 5 deletions

3
.vim/templates/begend Normal file
View File

@@ -0,0 +1,3 @@
#---- Begin
#---- End

11
.vimrc
View File

@@ -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