aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorVasil Zlatanov <vasil.zlatanov@gmail.com>2014-04-28 19:56:21 +0200
committerVasil Zlatanov <vasil.zlatanov@gmail.com>2014-04-28 19:56:21 +0200
commitabd0ebb421716c2d536bd05c94084f64f58328cd (patch)
tree98b8d95b2a7c3bd18fd1de7922db175e9c572f7b /vimrc
parent78c5376319ebb2228b025169c00604ca6ed724dd (diff)
downloaddotfiles-abd0ebb421716c2d536bd05c94084f64f58328cd.tar.gz
dotfiles-abd0ebb421716c2d536bd05c94084f64f58328cd.tar.bz2
dotfiles-abd0ebb421716c2d536bd05c94084f64f58328cd.zip
Adding pentadactylrc.
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc13
1 files changed, 11 insertions, 2 deletions
diff --git a/vimrc b/vimrc
index 95bbaee..ec08e1a 100644
--- a/vimrc
+++ b/vimrc
@@ -1,4 +1,3 @@
-
" All system-wide defaults are set in $VIMRUNTIME/debian.vim (usually just
" /usr/share/vim/vimcurrent/debian.vim) and sourced by the call to :runtime
" you can find below. If you wish to change any of those settings, you should
@@ -10,6 +9,7 @@
" This line should not be removed as it ensures that various options are
" properly set to work with the Vim-related packages available in Debian.
runtime! debian.vim
+execute pathogen#infect()
" Uncomment the next line to make Vim more Vi-compatible
" NOTE: debian.vim sets 'nocompatible'. Setting 'compatible' changes numerous
@@ -72,7 +72,8 @@ set autowriteall
set noswapfile
set nobackup
au CursorHold,CursorHoldI * checktime
-"au CursorHold,CursorHoldI * silent! wa
+au CursorHold,CursorHoldI * silent! wa
+set updatetime=1000
filetype plugin on
filetype indent off
let g:tex_flavor='latex'
@@ -90,3 +91,11 @@ let g:Tex_MultipleCompileFormats='pdf, aux'
"Math with qalc
nnoremap <leader>m :.!qalc<Enter>
+
+"Tab for escape
+nnoremap <Tab> <Esc>
+vnoremap <Tab> <Esc>gV
+onoremap <Tab> <Esc>
+inoremap <Tab> <Esc>`^
+inoremap <Leader><Tab> <Tab>
+