blob: f09485de931c060f41a270fb7d6595df622982b5 (
plain) (
blame)
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
|
set hidden
set undofile
set shortmess=atI
set wildmode=list:longest
set splitbelow splitright
command! W w
autocmd BufNewFile,BufRead *.asm,*.mac setfiletype nasm
set tabstop=8 expandtab shiftwidth=4 shiftround smartindent
autocmd FileType sh,zsh,ruby setlocal shiftwidth=2
set ignorecase smartcase inccommand=nosplit
nmap <leader><leader> :nohlsearch<CR>
set foldmethod=syntax foldlevel=99
autocmd TermOpen * setlocal statusline=%{b:term_title}
autocmd BufEnter term://* startinsert
tmap <C-w> <C-\><C-n><C-w>
set title
set scrolloff=1
set number colorcolumn=80,100
set list listchars=tab:»·,trail:·
colorscheme trivial
noremap n j
noremap e k
noremap k n
noremap j e
noremap N J
noremap E K
noremap K N
noremap J E
nmap <C-w>n <C-w>j
nmap <C-w>e <C-w>k
nmap <C-w>N <C-w>J
nmap <C-w>E <C-w>K
|