mirror of
https://github.com/prurigro/darkcloud-vimconfig.git
synced 2024-11-25 07:51:26 -05:00
Normalize comment style a bit
This commit is contained in:
parent
8861aa289f
commit
34835caf48
5 changed files with 28 additions and 32 deletions
|
@ -9,9 +9,6 @@
|
||||||
" "
|
" "
|
||||||
"============================================================"
|
"============================================================"
|
||||||
"
|
"
|
||||||
" Note:
|
|
||||||
" *The default <Leader> key is: \
|
|
||||||
"
|
|
||||||
"Aliases:
|
"Aliases:
|
||||||
" :GitLog & :gitlog | (C) -> show a navigatable log of commit history
|
" :GitLog & :gitlog | (C) -> show a navigatable log of commit history
|
||||||
" :GitDiff & :gitdiff | (C) -> current file and last commit in vimdiff
|
" :GitDiff & :gitdiff | (C) -> current file and last commit in vimdiff
|
||||||
|
@ -302,7 +299,6 @@
|
||||||
" <Left> | (A) -> map to h, which goes up one directory
|
" <Left> | (A) -> map to h, which goes up one directory
|
||||||
" ' | (A) -> edit the selected file
|
" ' | (A) -> edit the selected file
|
||||||
" n | (A) -> start editing a new file
|
" n | (A) -> start editing a new file
|
||||||
"
|
|
||||||
|
|
||||||
"DISABLED DEFAULT MAPPING: UNSET SHORTCUTS {{{
|
"DISABLED DEFAULT MAPPING: UNSET SHORTCUTS {{{
|
||||||
"-unmapping tabbing from < and > for use with diff
|
"-unmapping tabbing from < and > for use with diff
|
||||||
|
|
|
@ -62,7 +62,7 @@ endfunction
|
||||||
let g:tagbar_status_func = 'TagbarStatusFunc'
|
let g:tagbar_status_func = 'TagbarStatusFunc'
|
||||||
|
|
||||||
function! TagbarStatusFunc(current, sort, fname, ...) abort
|
function! TagbarStatusFunc(current, sort, fname, ...) abort
|
||||||
let g:lightline.fname = 'tags' "a:fname
|
let g:lightline.fname = 'tags'
|
||||||
return lightline#statusline(0)
|
return lightline#statusline(0)
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
" "
|
" "
|
||||||
"============================================================"
|
"============================================================"
|
||||||
|
|
||||||
" Undo unwanted less.vim keymappings
|
"Undo Unwanted Keymappings:
|
||||||
map v <Nop>
|
map v <Nop>
|
||||||
noremap w <S-Right>
|
noremap w <S-Right>
|
||||||
noremap <PageDown> <C-F>
|
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
|
runtime bundle.pager/vim-markdown-concealed/ftdetect/mkdc.vim
|
||||||
|
|
||||||
"Mappings:
|
"Mappings:
|
||||||
" Mouse
|
"mouse
|
||||||
map <C-ScrollWheelUp> <Nop>
|
map <C-ScrollWheelUp> <Nop>
|
||||||
map <C-ScrollWheelDown> <Nop>
|
map <C-ScrollWheelDown> <Nop>
|
||||||
map <A-ScrollWheelUp> <Nop>
|
map <A-ScrollWheelUp> <Nop>
|
||||||
|
@ -43,7 +43,7 @@ noremap <C-ScrollWheelDown> 4zh
|
||||||
noremap <A-ScrollWheelUp> zl
|
noremap <A-ScrollWheelUp> zl
|
||||||
noremap <A-ScrollWheelDown> zh
|
noremap <A-ScrollWheelDown> zh
|
||||||
|
|
||||||
" Movement
|
"movement
|
||||||
noremap <Home> 0
|
noremap <Home> 0
|
||||||
noremap <kHome> <Home>
|
noremap <kHome> <Home>
|
||||||
noremap <End> $
|
noremap <End> $
|
||||||
|
@ -63,7 +63,7 @@ noremap <S-Down> G$
|
||||||
noremap <S-Right> $
|
noremap <S-Right> $
|
||||||
noremap <S-Left> ^
|
noremap <S-Left> ^
|
||||||
|
|
||||||
" Copy/Paste
|
"copy/paste
|
||||||
nnoremap y vy<Esc>
|
nnoremap y vy<Esc>
|
||||||
vnoremap y y
|
vnoremap y y
|
||||||
nnoremap <C-c> y
|
nnoremap <C-c> y
|
||||||
|
@ -71,19 +71,19 @@ vnoremap <C-c> y
|
||||||
nnoremap T vg_y
|
nnoremap T vg_y
|
||||||
vnoremap T g_y
|
vnoremap T g_y
|
||||||
|
|
||||||
" Search
|
"search
|
||||||
map / <Plug>(incsearch-forward)
|
map / <Plug>(incsearch-forward)
|
||||||
map ? <Plug>(incsearch-backward)
|
map ? <Plug>(incsearch-backward)
|
||||||
map g/ <Plug>(incsearch-stay)
|
map g/ <Plug>(incsearch-stay)
|
||||||
nnoremap <silent><expr> // '<Esc>:noh<CR>'
|
nnoremap <silent><expr> // '<Esc>:noh<CR>'
|
||||||
|
|
||||||
" Selection
|
"selection
|
||||||
nnoremap <C-a> gg0vG$
|
nnoremap <C-a> gg0vG$
|
||||||
xnoremap <C-a> <Esc>gg0vG$
|
xnoremap <C-a> <Esc>gg0vG$
|
||||||
nnoremap <Leader>a gg0vG$
|
nnoremap <Leader>a gg0vG$
|
||||||
xnoremap <Leader>a <Esc>gg0vG$
|
xnoremap <Leader>a <Esc>gg0vG$
|
||||||
|
|
||||||
" Toggles
|
"toggles
|
||||||
nnoremap <silent><expr> <F1> ':set wrap!<CR>:echo "line wrapping toggled"<CR>'
|
nnoremap <silent><expr> <F1> ':set wrap!<CR>:echo "line wrapping toggled"<CR>'
|
||||||
xnoremap <silent><expr> <F1> '<Esc>:set wrap!<CR>gv'
|
xnoremap <silent><expr> <F1> '<Esc>:set wrap!<CR>gv'
|
||||||
nnoremap <silent><expr> <F2> ':set spell!<CR>:echo "spell checking toggled"<CR>'
|
nnoremap <silent><expr> <F2> ':set spell!<CR>:echo "spell checking toggled"<CR>'
|
||||||
|
|
Loading…
Reference in a new issue