-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.vimrc
More file actions
36 lines (32 loc) · 1.64 KB
/
.vimrc
File metadata and controls
36 lines (32 loc) · 1.64 KB
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
"" Configure appearance
syntax enable " Enable syntax
set number " Show line number
set encoding=utf-8 " Set encoding
set showcmd " Show (partial) command in status line.
set showmatch " Show matching brackets.
set autowrite " Automatically save before commands like :next and :make
set hidden " Hide buffers when they are abandoned
"" Set mode
set mouse=a " Enable mouse usage (all modes)
set nocompatible " choose no compatibility with legacy vi
filetype plugin indent on " load file type plugins + indentation
"" Whitespace
set nowrap " don't wrap lines
set tabstop=2 shiftwidth=2 " a tab is two spaces (or set this to 4)
set expandtab " use spaces, not tabs (optional)
set backspace=indent,eol,start " backspace through everything in insert mode
"" Searching
set hlsearch " highlight matches
set incsearch " incremental searching
set ignorecase " searches are case insensitive...
set smartcase " ... unless they contain at least one capital letter
"" Netrw config
"" let g:netrw_banner = 0 " remove top banner
"" let g:netrw_liststyle = 3 " view mode of netrw
"" let g:netrw_browse_split = 4 " change how files opened: 4. open file in previous window
"" let g:netrw_altv = 1
"" let g:netrw_winsize = 25 " set the width of directory explorer: 25% of the page
"" augroup ProjectDrawer " launch after enter vim
"" autocmd!
"" autocmd VimEnter * :Vexplore " open vim in vertical split
"" augroup END