~strahinja/dotfiles

ref: f3b5102378cf7e8f737edb1b294e197414d6a726 dotfiles/.vimrc -rw-r--r-- 1.2 KiB
f3b51023Страхиња Радић bin/{t,c}sv*: Output usage after variable initialization 4 months ago
                                                                                
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
" vim: set ft=vim :
set t_8f=[38;2;%lu;%lu;%lum        " set foreground color
set t_8b=[48;2;%lu;%lu;%lum        " set background color
colorscheme benlight
set t_Co=256
set termguicolors
syntax on
set hidden
set fileformat=unix
set fileformats=unix,dos
set showcmd
set encoding=utf-8
set termencoding=utf-8
set fileencoding=utf-8
set number
set relativenumber
set tabstop=8
set softtabstop=0
set shiftwidth=0
set noexpandtab
set textwidth=80
set colorcolumn=80
"set colorcolumn=80
"set cursorline
set cinoptions=:0,l1,g0,t0,U1,Ws,ks
set switchbuf+=usetab

noremap <silent> <F7> :copen<CR>
noremap <silent> <Esc>[18;5~ :cclose<CR>
nmap <Tab> :bnext<CR>
nmap <S-Tab> :bprevious<CR>
nmap <C-Q> :lclose<bar>bp<bar>bd #<CR>
nmap <C-@> :buffers<CR>
nnoremap <silent> <Esc>[1;5A :copen<CR>:cp<CR>
nnoremap <silent> <Esc>[1;5B :copen<CR>:cn<CR>
nmap <Esc>- i<C-k>-N
imap <Esc>- <C-k>-N
nmap <Esc>; i<C-k>:9<C-k>"6<Esc>i
imap <Esc>; <C-k>:9<C-k>"6<Esc>i

cabbrev h only <bar> vertical botright help

nnoremap <leader><Space> :nohlsearch<CR>

autocmd BufRead,BufNewFile *.pas set filetype=pascal
autocmd BufRead,BufNewFile *.PAS set filetype=pascal
autocmd BufRead,BufNewFile *.slw set filetype=markdown