-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc_no_plugins
64 lines (49 loc) · 880 Bytes
/
.vimrc_no_plugins
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
54
55
56
57
58
59
60
61
62
63
64
set noerrorbells
set novisualbell
nnoremap <C-L> :nohl<CR><C-L>
" Highlighting
syntax on
set encoding=utf-8
" History
set history=50
" Display
set ls=2
set showmode
set showcmd
set modeline
set ruler
set title
set nu
" Line wrapping
set nowrap
set linebreak
set showbreak=+++
" Auto indent what you can
set autoindent
" Searching
set ignorecase
set smartcase
set gdefault
set hlsearch
set showmatch
" Enable jumping into files in a search buffer
set hidden
" Make backspace a bit nicer
set backspace=eol,start,indent
" Indentation
set shiftwidth=4
set tabstop=4
set softtabstop=4
set shiftround
set expandtab
" Disable mouse
set mouse=
" Toggle line-wrap
map <F6> <Esc>:set wrap!<CR>
" Base64 decode word under cursor
nmap <Leader>b :!echo <C-R><C-W> \| base64 -d<CR>
" Visual prompt for command completion
set wildmenu
" folding
set nofoldenable
set nocompatible