-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.vimrc.less
More file actions
39 lines (33 loc) · 734 Bytes
/
.vimrc.less
File metadata and controls
39 lines (33 loc) · 734 Bytes
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
" vim:filetype=vim
" No compatibility – necessary for mappings to work.
set nocompatible
" Status line
set laststatus=0
set cmdheight=1
"set nomodifiable " Only in version 6.0
"set noma
set readonly
set ruler " Position in file
" When reading from stdin don't consider the file modified.
au VimEnter * set nomod
call plug#begin('~/.vim/plugged')
Plug 'dylanaraps/wal'
call plug#end()
" Turn syntax on
syntax enable
filetype plugin indent on " filetype specific declarations
colorscheme wal
" Key bindings.
nmap f <C-F><C-G>
nmap b <C-B><C-G>
nmap u <C-U><C-G>
nmap d <C-D><C-G>
nmap q :q!<CR>
nmap <Up> <C-Y>
nmap <Down> <C-E>
"
" Go to percentage
nmap <script> % %<SID>L
map p %
" Space like in less
nmap <Space> <C-F>