Last active
December 28, 2015 06:59
-
-
Save sergii/7460585 to your computer and use it in GitHub Desktop.
.vimrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 " Turn on line numbering. Turn it off with "set nonu" | |
2 set nu | |
3 | |
4 " Set syntax on | |
5 syntax on | |
6 | |
7 " Indent automatically depending on filetype | |
8 filetype indent on | |
9 set autoindent | |
10 | |
11 " Case insensitive search | |
12 set ic | |
13 | |
14 " Higlhight search | |
15 set hls | |
16 | |
17 " Wrap text instead of being on one line | |
18 set lbr | |
19 | |
20 " Change colorscheme from default to delek | |
21 colorscheme delek | |
22 | |
23 " Set TAB indentation | |
24 set smartindent | |
25 set tabstop=2 | |
26 set shiftwidth=2 | |
27 set expandtab | |
28 | |
29 " Go russian | |
30 set encoding=utf-8 " set charset translation encoding | |
31 set termencoding=utf-8 " set terminal encoding | |
32 set fileencoding=utf-8 " set save encoding | |
33 set fileencodings=utf8,koi8r,cp1251,cp866,ucs-2le " список предполагаемых кодировок, в порядке предпочтения | |
34 | |
35 set background=dark |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment