~mehdix/dotfiles

dotfiles/.vimrc -rw-r--r-- 575 bytes
dbb66100Mehdi Sadeghi Change prompt to two lines and add nix. a day 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
set rtp+=/usr/bin/fzf
syntax on

" Pane navigation
nnoremap <C-J> <C-W><C-J>
nnoremap <C-K> <C-W><C-K>
nnoremap <C-L> <C-W><C-L>
nnoremap <C-H> <C-W><C-H>

" Use ctrl-[hjkl] to select the active split!
"nmap <silent> <c-k> :wincmd k<CR>
"nmap <silent> <c-j> :wincmd j<CR>
"nmap <silent> <c-h> :wincmd h<CR>
"nmap <silent> <c-l> :wincmd l<CR>

" Source vimrc in $CWD in a secure way
set exrc
set secure

set arabicshape!
let g:RightAlign_RightBorder = 80
imap <silent> <C-b>    <Plug>RightAlign
nmap <silent> <C-k>b    :RightAlign<CR>
vmap <silent> <C-k>b    :RightAlign<CR>