summaryrefslogtreecommitdiff
path: root/.vim/vimrc_files/keymaps.vim
diff options
context:
space:
mode:
authorJohannes Stolp <jstolp@fr65cs25.internal.synopsys.com>2016-08-12 18:06:28 +0200
committerJohannes Stolp <jstolp@fr65cs25.internal.synopsys.com>2016-08-12 18:06:28 +0200
commit7113c37a7895fbf0faf97b9b8868b6025853bc6f (patch)
tree9c3cf4a7177cc3352feb1972e8301a7b98fe3610 /.vim/vimrc_files/keymaps.vim
parente27e4094041138d2430bd6f3123a4bbf677f508a (diff)
downloaddotfiles-7113c37a7895fbf0faf97b9b8868b6025853bc6f.tar.gz
dotfiles-7113c37a7895fbf0faf97b9b8868b6025853bc6f.zip
Added vim tpope-dispatch plugin, added quickfix auto open
Diffstat (limited to '.vim/vimrc_files/keymaps.vim')
-rw-r--r--.vim/vimrc_files/keymaps.vim6
1 files changed, 4 insertions, 2 deletions
diff --git a/.vim/vimrc_files/keymaps.vim b/.vim/vimrc_files/keymaps.vim
index b440aed..b38f5e9 100644
--- a/.vim/vimrc_files/keymaps.vim
+++ b/.vim/vimrc_files/keymaps.vim
@@ -78,6 +78,8 @@ inoremap <C-a> <c-o>0
inoremap <C-e> <c-o>$
vnoremap <C-a> 0
vnoremap <C-e> $
+cnoremap <C-a> <Home>
+cnoremap <C-e> <End>
" Shortcut to toggle relative numbering mode
@@ -87,7 +89,7 @@ nnoremap <c-n> :call ToggleRelativeNumber()<CR>
nnoremap <C-f> o//{{{ <Esc>o//}}}<Esc><Up>A
imap <C-f> <ESC><C-f>
" only works with v-block (not v-line)
-vnoremap <C-f> VV'<O//{{{ <Esc>'>o//}}}<Esc>'<<ESC><Up>A
+vnoremap <C-f> VV'<O//{{{<Esc>'>o//}}}<Esc>'<<ESC><Up>A
" substitute selection
vnoremap <C-r> "hy:%s/<C-r>h//gc<left><left><left>
@@ -102,4 +104,4 @@ nnoremap <C-b> :call BufExplorer()<CR>
nnoremap <leader>t :TagbarToggle<CR>
" build tags of your own project with Ctrl-F12
-map <C-F12> :!ctags -R --sort=yes --c++-kinds=+pl --fields=+iaS --extra=+q --language-force=C++ .<CR>
+map <C-t> :!ctags -R --sort=yes --c++-kinds=+pl --fields=+iaS --extra=+q --language-force=C++ .<CR>