blob: e1ba8925d8cd450449e3e5d43c3afcd852586859 (
plain)
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
|
" Shit that gets disabled because I created this file
set nocompatible
filetype indent plugin on
syntax on
set wildmenu
set showcmd
" Numbers
set number
" Search
set hlsearch
" Indentation
set tabstop=8
set softtabstop=4
set shiftwidth=4
set noexpandtab
set smarttab
set autoindent
set smartindent
" Word wrap
set wrap
set linebreak
" Set textwidth when you know how to quickly 'justify' comments or block of
" text. This is a really nice feature, but how can I edit C comments without
" leaving some lines short?
" set textwidth=80
" set wrapmargin=0
" set formatoptions-=t
" Other settings
" ==============
set mouse=a
" set cmdheight=1
" Always display the status line, even if only one window is displayed
set laststatus=2
set ruler
" Mappings
" ========
map <F7> :tabp<CR>
map <F8> :tabn<CR>
" ? Map <C-L> (redraw screen) to also turn off search highlighting until the
" next search
nnoremap <C-L> :nohl<CR><C-L>
|