summaryrefslogtreecommitdiffstats
path: root/pentadactylrc
blob: 314ac30949074b392106a75948acabf7d0d9145c (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
37
38
39
40
41
42
set mapleader=;
nnoremap <Leader><Leader> <Leader>

" single line status/command bar
set go-=C

" scrolling
map H :bp<CR>
map L :bn<CR>
map J 20j
map K 20k

" disable autocompletion entirely
set au=
" when completing, only show 5 at a time
set maxitems=5

" anchor hint typeahead to the start of words
set hintmatching=wordstartswith
" prettier hint numbering
highlight Hint -append font-size:11px;font-weight:bold;background:#fff;border:1px solid red;color:#000;font-family:monospace

" backspace to open panorama
map <BS> <C-v><C-S-e>

" default to using the 'g' search keyword
set defsearch=g

" highlight all matches, but let them be hidden
set hlfind
nmap <Leader>/ :nohlfind<CR>

" reactivate `` - can't actually use ` mark since pentadactyl wants letter
" registers only
noremap gg mpgg
noremap G mpG
map `` `p

" no beeps
javascript dactyl.beep = function() { return false; }

" vim:ft=vim: