summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2013-04-09 14:23:24 +0200
committerJan Pokorný <jpokorny@redhat.com>2013-04-09 14:23:24 +0200
commit5593c643d5dbb3e132d8bb91f28493371c03a2a4 (patch)
treec44dca89284596cceabc6a824baa629a024e6870 /.vimrc
parentbb9acfc2f857d9cdfcb63b1db3bb8e2d9e94c2dd (diff)
downloaddotfiles-5593c643d5dbb3e132d8bb91f28493371c03a2a4.tar.gz
dotfiles-5593c643d5dbb3e132d8bb91f28493371c03a2a4.tar.xz
dotfiles-5593c643d5dbb3e132d8bb91f28493371c03a2a4.zip
Add configuration regarding (g)vim
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc33
1 files changed, 33 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
new file mode 100644
index 0000000..65ec2ff
--- /dev/null
+++ b/.vimrc
@@ -0,0 +1,33 @@
+"set tabstop=4
+"set shiftwidth=4
+"set expandtab
+set number
+
+set mouse=a
+
+"set autoindent
+"set vb
+highlight LineNr term=bold cterm=NONE ctermfg=DarkGrey ctermbg=NONE
+
+noremap <C-left> :bprev<CR>
+noremap <C-right> :bnext<CR>
+
+" don't remember why temporarily off
+filetype off
+
+call pathogen#infect()
+call pathogen#infect('~/.vim/vim4projects')
+call pathogen#helptags()
+
+" NERDTree
+let NERDTreeIgnore = ['\.pyc$', '\.tar\.gz$']
+
+filetype plugin indent on
+syntax on
+
+" powerline
+set laststatus=2 " Always show the statusline
+set t_Co=256 " Explicitly tell vim that the terminal supports 256 colors
+
+" tagbar
+nmap <F8> :TagbarToggle<CR>