summaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc42
1 files changed, 42 insertions, 0 deletions
diff --git a/vimrc b/vimrc
new file mode 100644
index 0000000..cab106b
--- /dev/null
+++ b/vimrc
@@ -0,0 +1,42 @@
+set number
+set smartcase
+set ignorecase
+set nowrap
+set tabpagemax=15
+set tabstop=2
+set shiftwidth=2
+set expandtab
+set scrolloff=2
+set showmatch
+set showmode
+set title
+set wildmenu
+set wildignore=*.o,*.swp,*~
+set matchtime=2
+set mouse=v
+
+
+map <F12> :make <CR>
+map <F3> :cn <CR>
+map <S-F3> :cp <CR>
+
+map <tab> :tabn <CR>
+map <S-tab> :tabp <CR>
+
+map <C-w> :w <CR>
+map <C-x> :wq
+
+syntax enable
+
+noremap ; l
+noremap l k
+noremap k j
+noremap j h
+
+set background=dark
+
+filetype plugin on
+set ofu=syntaxcomplete#Complete
+
+map <S-y> :w !diff % - <CR>
+