summaryrefslogtreecommitdiff
path: root/vimrc
blob: f7758c24ec7925eef7221c6f73150d4c9acb7122 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
set ai
set backspace=indent,eol,start
set encoding=utf-8
set expandtab
set history=5000
set hlsearch
set incsearch
set linebreak
set nocompatible
set number
set pastetoggle=<F5>
set showcmd
set sm
set sw=4
set tabstop=4
set wrap
syntax enable

set laststatus=2
set statusline=%F\ [%Y,\ %{&ff}]\ %=\ %l:%c\ (%p%%)\ \|\ %{strftime(\"%Y-%m-%d,\ %H:%M\")}
colorscheme desert

imap <F2> <Esc>:w<CR>a
map <F2> <Esc>:w<CR>