-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
53 lines (47 loc) · 1.12 KB
/
.vimrc
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
set expandtab
set tabstop=4
set shiftwidth=4
set ai
set sta
set et
set fo=croql
set ignorecase
set smartcase
set nowrap
set whichwrap+=<,>,h,l,[,]
set mouse=a
set incsearch
set hlsearch
set clipboard=unnamedplus
set scrolloff=3
colorscheme inkpot
filetype indent on
" Press Space to turn off highlighting and clear any message already displayed.
:nnoremap <silent> <Space> :nohlsearch<Bar>:echo<CR>
:nnoremap <F2> :w<CR>
:inoremap <F2> <Esc>:w<CR>
map ; :
:inoremap <CR> <CR>x<BS>
:nnoremap o ox<BS>
set keymap=russian-jcukenwin " ^6 to change
set iminsert=0 " latin by default
set imsearch=0 " latin by default
:inoremap <c-z> <c-^>
nnoremap <F4> :cnext<CR>
nnoremap <Tab> za
inoremap <F4> <Esc>:cnext<CR>a
:filetype plugin indent on
" Disable autocomment
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o
nnoremap <F5> :set invpaste paste?<CR>
set pastetoggle=<F5>
set showmode
set t_Co=256
if has("gui_running")
" GUI is running or is about to start.
" Maximize gvim window.
set lines=999 columns=999
endif
set guioptions-=T "remove toolbar
let g:session_autosave = 'no'
let g:session_autoload = 'no'