Removed everything I did not use. Will add it back when/if I need it.
This commit is contained in:
parent
0b288f90a9
commit
853dc96938
1 changed files with 1 additions and 38 deletions
|
|
@ -186,30 +186,6 @@ endfunction
|
|||
inoremap <Tab> <C-r>=InsertTabWrapper()<CR>
|
||||
inoremap <S-Tab> <C-n>
|
||||
|
||||
|
||||
|
||||
" Switch between the last two files
|
||||
nnoremap <Leader><Leader> <C-^>
|
||||
|
||||
" Get off my lawn
|
||||
nnoremap <Left> :echoe "Use h"<CR>
|
||||
nnoremap <Right> :echoe "Use l"<CR>
|
||||
nnoremap <Up> :echoe "Use k"<CR>
|
||||
nnoremap <Down> :echoe "Use j"<CR>
|
||||
|
||||
" vim-test mappings
|
||||
nnoremap <silent> <Leader>t :TestFile<CR>
|
||||
nnoremap <silent> <Leader>s :TestNearest<CR>
|
||||
nnoremap <silent> <Leader>l :TestLast<CR>
|
||||
nnoremap <silent> <Leader>a :TestSuite<CR>
|
||||
nnoremap <silent> <Leader>gt :TestVisit<CR>
|
||||
|
||||
" Run commands that require an interactive shell
|
||||
nnoremap <Leader>r :RunInInteractiveShell<Space>
|
||||
|
||||
" Treat <li> and <p> tags like the block tags they are
|
||||
let g:html_indent_tags = 'li\|p'
|
||||
|
||||
" Open new split panes to right and bottom, which feels more natural
|
||||
set splitbelow
|
||||
set splitright
|
||||
|
|
@ -220,22 +196,9 @@ nnoremap <C-k> <C-w>k
|
|||
nnoremap <C-h> <C-w>h
|
||||
nnoremap <C-l> <C-w>l
|
||||
|
||||
" Move between linting errors
|
||||
nnoremap ]r :ALENextWrap<CR>
|
||||
nnoremap [r :ALEPreviousWrap<CR>
|
||||
|
||||
" Map Ctrl + p to open fuzzy find (FZF)
|
||||
nnoremap <c-p> :Files<cr>
|
||||
|
||||
" Set spellfile to location that is guaranteed to exist, can be symlinked to
|
||||
" Dropbox or kept in Git and managed outside of thoughtbot/dotfiles using rcm.
|
||||
set spellfile=$HOME/.vim-spell-en.utf-8.add
|
||||
|
||||
" Autocomplete with dictionary words when spell check is on
|
||||
Autocomplete with dictionary words when spell check is on
|
||||
set complete+=kspell
|
||||
|
||||
" Always use vertical diffs
|
||||
set diffopt+=vertical
|
||||
|
||||
" Local config
|
||||
if filereadable($HOME . "/.vimrc.local")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue