-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.vimrc
More file actions
81 lines (65 loc) · 1.34 KB
/
.vimrc
File metadata and controls
81 lines (65 loc) · 1.34 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
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
"" Basics
set nocompatible
set noeb vb t_vb= " no beeping or flashing
set encoding=utf-8
syntax enable
filetype plugin indent on
let mapleader=","
"" Whitespace
set nowrap
set tabstop=2 shiftwidth=2
set expandtab
set backspace=indent,eol,start
"" Searching
set hlsearch
set incsearch
set ignorecase
set smartcase
"" Backup files
set nobackup
set nowb
set noswapfile
set viminfo= " don't use or save viminfo files
"" Other options
set showcmd
set ruler
"" Colorscheme
set background=dark
"" toggle paste mode
nnoremap <Leader>p :set invpaste paste?<CR>
set pastetoggle=<F2>
set showmode
"" toggle search term highlighting
:noremap <Leader>h :set hlsearch! hlsearch?<CR>"" Basics
set nocompatible
set noeb vb t_vb= " no beeping or flashing
set encoding=utf-8
syntax enable
filetype plugin indent on
let mapleader=","
"" Whitespace
set nowrap
set tabstop=2 shiftwidth=2
set expandtab
set backspace=indent,eol,start
"" Searching
set hlsearch
set incsearch
set ignorecase
set smartcase
"" Backup files
set nobackup
set nowb
set noswapfile
set viminfo= " don't use or save viminfo files
"" Other options
set showcmd
set ruler
"" Colorscheme
set background=dark
"" toggle paste mode
nnoremap <Leader>p :set invpaste paste?<CR>
set pastetoggle=<F2>
set showmode
"" toggle search term highlighting
:noremap <Leader>h :set hlsearch! hlsearch?<CR>