summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2014-05-20 23:04:20 +0200
committerJan Pokorný <jpokorny@redhat.com>2014-05-21 14:48:45 +0200
commit85f50f420a2671f7938a70226df388217c15b4c1 (patch)
tree5bc2dbf811c84675307f5a122c55c19beec8f0d1
parent0c8386b304b77de41a610dc18e15a9095a6f57a1 (diff)
downloaddotfiles-85f50f420a2671f7938a70226df388217c15b4c1.zip
dotfiles-85f50f420a2671f7938a70226df388217c15b4c1.tar.gz
dotfiles-85f50f420a2671f7938a70226df388217c15b4c1.tar.xz
Vim config: add possible key remapping
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
-rw-r--r--.vimrc12
1 files changed, 10 insertions, 2 deletions
diff --git a/.vimrc b/.vimrc
index 8d3df97..d65b174 100644
--- a/.vimrc
+++ b/.vimrc
@@ -15,8 +15,16 @@ set ttym=xterm2 " make buffer mouse dragging work also in tmux
highlight LineNr term=bold cterm=NONE ctermfg=DarkGrey ctermbg=NONE
noremap <C-left> :bprev<CR>
-noremap <C-right> :bnext<CR>
-
+noremap <C-right> :bnext<CR>
+" alternatively:
+" http://stackoverflow.com/a/12230039
+"set hidden
+"noremap <C-TAB> :bnext<CR>
+"noremap <C-S-TAB> :bprev<CR>
+
+" omnicompletion to C-space?
+"inoremap <C-Space> <C-x><C-o>
+"inoremap <C-@> <C-Space>
execute pathogen#infect()
execute pathogen#infect('~/.vim/vim4projects/{}')