diff options
author | Adrian Kummerlaender | 2016-12-30 11:40:44 +0100 |
---|---|---|
committer | Adrian Kummerlaender | 2016-12-30 11:40:44 +0100 |
commit | 6f2a3e1a8437957936c375971172191df1c0ca08 (patch) | |
tree | b3900a4ef4514df1f569c3a3f27febfbf0bac753 | |
parent | 7b566f7e88faa91185b653f9ab964ffe5dfac894 (diff) | |
download | dotfiles-6f2a3e1a8437957936c375971172191df1c0ca08.tar dotfiles-6f2a3e1a8437957936c375971172191df1c0ca08.tar.gz dotfiles-6f2a3e1a8437957936c375971172191df1c0ca08.tar.bz2 dotfiles-6f2a3e1a8437957936c375971172191df1c0ca08.tar.lz dotfiles-6f2a3e1a8437957936c375971172191df1c0ca08.tar.xz dotfiles-6f2a3e1a8437957936c375971172191df1c0ca08.tar.zst dotfiles-6f2a3e1a8437957936c375971172191df1c0ca08.zip |
Change `vim` leader to comma
-rw-r--r-- | fish/.dir_colors | 1 | ||||
-rw-r--r-- | vim/.vimrc | 10 |
2 files changed, 9 insertions, 2 deletions
diff --git a/fish/.dir_colors b/fish/.dir_colors index 304aafc..501f9e4 100644 --- a/fish/.dir_colors +++ b/fish/.dir_colors @@ -62,6 +62,7 @@ TERM xterm-256color TERM xterm-88color TERM xterm-color TERM xterm-debian +TERM xterm-termite # Below are the color init strings for the basic file types. A color init # string consists of one or more of the following numeric codes: # Attribute codes: @@ -1,8 +1,8 @@ " The following plugins are expected to be installed: " * pathogen -- autoload other plugins " * ctrlp.vim -- fuzzy file search -" * gundo.vim -- visualize undo tree " * nertree -- nicer file browser with sidebar support +" * vim-mundo -- visualize undo tree " * vim-airline -- better status bar " * vim-unimpaired -- bracket mappings " * vim-gitgutter -- display git diffs alongside line numbers @@ -43,7 +43,13 @@ set incsearch set ignorecase set smartcase +let mapleader="," + map <leader>s :let @/=""<CR> +map <leader>fc :foldclose<CR> +map <leader>fo :foldopen<CR> + +nmap <backspace> :e#<CR> autocmd InsertEnter * :setlocal nohlsearch autocmd InsertLeave * :setlocal hlsearch @@ -110,7 +116,7 @@ let g:goyo_margin_bottom = 0 let g:matlab_behave_paste_cmd = "alt+v" nnoremap <F4> :NERDTreeToggle<CR> -nnoremap <F5> :GundoToggle<CR> +nnoremap <F5> :MundoToggle<CR> nnoremap <F6> :GitGutterToggle<CR> nnoremap <F7> :set cursorline!<CR> nnoremap <F12> :Goyo<CR> |