public
Description: software setting files
Homepage:
Clone URL: git://github.com/januswel/dotfiles.git
dotfiles / .muttatorrc
100644 85 lines (61 sloc) 1.91 kb
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
" muttatorrc
" author janus_wel <janus.wel.3@gmail.com>
" for 0.5pre (created: 2009/01/03 18:39:53)
" Last Change: 2009/02/01 16:18:59.
 
" Settings --------------------------------------------------------------
" show completions automatically
set wildoptions=auto
 
" need <CR> anytime in hints mode
set followhints=1
 
" show folder pane and right, bottom scroll bar
set guioptions=frb
 
" scroll height of <C-d> / <C-u>
set scroll=3
 
" always display tab-bar
set showtabline=2
 
" don't focus any "input" elements automatically when open pages.
set focuscontent
 
 
" Variables ---------------------------------------------------------------
" this must be set before map operation, otherwise use default value.
let mapleader=','
 
 
" Mappings --------------------------------------------------------------
" tab operation
noremap <C-h> gT
noremap <C-l> gt
"noremap <C-p> :tabmove! -1<CR>
"noremap <C-n> :tabmove! +1<CR>
 
" we love echo
noremap e :echo<Space>
 
" pageinfo short-cut
noremap I :pageinfo<CR>
 
" scrooooooooll
mnoremap J <C-d>
mnoremap K <C-u>
 
" Windows keybind
noremap <C-a> <C-v><C-a>
noremap <C-c> <C-v><C-c>
noremap <C-s> <C-v><C-s>
 
mnoremap <C-a> <C-v><C-a>
mnoremap <C-c> <C-v><C-c>
mnoremap <C-s> <C-v><C-s>
 
inoremap <C-a> <C-v><C-a>
inoremap <C-c> <C-v><C-c>
inoremap <C-s> <C-v><C-s>
inoremap <C-x> <C-v><C-x>
inoremap <C-v> <C-v><C-v>
inoremap <C-z> <C-v><C-z>
inoremap <C-y> <C-v><C-y>
 
cnoremap <C-a> <C-v><C-a>
cnoremap <C-c> <C-v><C-c>
cnoremap <C-s> <C-v><C-s>
cnoremap <C-x> <C-v><C-x>
cnoremap <C-v> <C-v><C-v>
cnoremap <C-z> <C-v><C-z>
cnoremap <C-y> <C-v><C-y>
 
" fullscreen
noremap <F11> <C-v><F11>
 
" sourcing .vimperatorrc
noremap <Leader>r :so ~/.muttatorrc<CR>
noremap <Leader>R :mapclear<CR>:cmapclear<CR>:imapclear<CR>:mmapclear<CR>:so ~/.muttatorrc<CR>
 
 
" Source ----------------------------------------------------------------
 
 
" vim: ft=vimperator sw=4 sts=4 ts=4 et