Skip to content

Commit

Permalink
[keyboard map] swap : and ;
Browse files Browse the repository at this point in the history
Change both console and X maps.
Remove previous hacks in pentadactylrc and vimrc.
  • Loading branch information
raphael-proust committed Apr 20, 2012
1 parent c491079 commit 8072061
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
Binary file modified betterus.map.gz
Binary file not shown.
4 changes: 1 addition & 3 deletions pentadactylrc
Expand Up @@ -46,9 +46,7 @@ map -builtin j 4j
map -builtin k 4k
map -builtin l 4l

" making ; act as :
map -builtin ; :
map -builtin g; ;
" making ; act as : (obsolete)

" TabGroup thingy
map -builtin <C-w> <C-S-e>
Expand Down
10 changes: 4 additions & 6 deletions vimrc
Expand Up @@ -152,6 +152,9 @@ nnoremap <F5> :ls<CR>
map g0 :tabfirst<CR>
map g$ :tablast<CR>
"NERDTree invocation
nnoremap <F6> :NERDTreeToggle<CR>
" Highlights long lines
set colorcolumn=+1

Expand Down Expand Up @@ -206,11 +209,6 @@ command Sudow :w !sudo tee %
"Status line with a little more information
set statusline=%<%f\ \ [%Y%M%R%W]%=%-11(%l,%c%V%)\ \ %P

" setting ; as :
noremap ; :
noremap q; q:
" setting ; as : (obsolete because of xmodmap and betterus map)

"making mapped command availables
noremap <leader>, ,
noremap <leader>; ;

1 change: 1 addition & 0 deletions xmodmap
@@ -1,3 +1,4 @@
remove Lock = Caps_Lock
keysym Caps_Lock = Control_L
add Control = Control_L
keycode 47 = colon semicolon colon semicolon

0 comments on commit 8072061

Please sign in to comment.