Normalize comment style a bit

This commit is contained in:
Kevin MacMartin 2018-03-14 11:38:51 -04:00
parent 8861aa289f
commit 34835caf48
5 changed files with 28 additions and 32 deletions

View file

@ -9,9 +9,6 @@
" "
"============================================================"
"
" Note:
" *The default <Leader> key is: \
"
"Aliases:
" :GitLog & :gitlog | (C) -> show a navigatable log of commit history
" :GitDiff & :gitdiff | (C) -> current file and last commit in vimdiff
@ -302,7 +299,6 @@
" <Left> | (A) -> map to h, which goes up one directory
" ' | (A) -> edit the selected file
" n | (A) -> start editing a new file
"
"DISABLED DEFAULT MAPPING: UNSET SHORTCUTS {{{
"-unmapping tabbing from < and > for use with diff

View file

@ -62,7 +62,7 @@ endfunction
let g:tagbar_status_func = 'TagbarStatusFunc'
function! TagbarStatusFunc(current, sort, fname, ...) abort
let g:lightline.fname = 'tags' "a:fname
let g:lightline.fname = 'tags'
return lightline#statusline(0)
endfunction

View file

@ -9,7 +9,7 @@
" "
"============================================================"
" Undo unwanted less.vim keymappings
"Undo Unwanted Keymappings:
map v <Nop>
noremap w <S-Right>
noremap <PageDown> <C-F>
@ -33,7 +33,7 @@ set concealcursor=n "conceal text in the cursor line while in normal mode
runtime bundle.pager/vim-markdown-concealed/ftdetect/mkdc.vim
"Mappings:
" Mouse
"mouse
map <C-ScrollWheelUp> <Nop>
map <C-ScrollWheelDown> <Nop>
map <A-ScrollWheelUp> <Nop>
@ -43,7 +43,7 @@ noremap <C-ScrollWheelDown> 4zh
noremap <A-ScrollWheelUp> zl
noremap <A-ScrollWheelDown> zh
" Movement
"movement
noremap <Home> 0
noremap <kHome> <Home>
noremap <End> $
@ -63,7 +63,7 @@ noremap <S-Down> G$
noremap <S-Right> $
noremap <S-Left> ^
" Copy/Paste
"copy/paste
nnoremap y vy<Esc>
vnoremap y y
nnoremap <C-c> y
@ -71,19 +71,19 @@ vnoremap <C-c> y
nnoremap T vg_y
vnoremap T g_y
" Search
"search
map / <Plug>(incsearch-forward)
map ? <Plug>(incsearch-backward)
map g/ <Plug>(incsearch-stay)
nnoremap <silent><expr> // '<Esc>:noh<CR>'
" Selection
"selection
nnoremap <C-a> gg0vG$
xnoremap <C-a> <Esc>gg0vG$
nnoremap <Leader>a gg0vG$
xnoremap <Leader>a <Esc>gg0vG$
" Toggles
"toggles
nnoremap <silent><expr> <F1> ':set wrap!<CR>:echo "line wrapping toggled"<CR>'
xnoremap <silent><expr> <F1> '<Esc>:set wrap!<CR>gv'
nnoremap <silent><expr> <F2> ':set spell!<CR>:echo "spell checking toggled"<CR>'