效率软件设置

利用chrome的cvim插件,可以不用鼠标来浏览网页

添加配置

let scrollstep = 45

iunmap <C-h>

imap <C-h> deleteChar

map <C-h> deleteChar

map <C-j> deleteChar

imap <C-h> deleteChar 

map h previousTab

map l nextTab

let scrollduration = 1000

unmap p

------------------------------------------------------------

vim 配置文件

inoremap <C-b> <Left>

inoremap <C-f> <Right>

syntax on

set smartindent " 开启新行时使用智能自动缩进

set autoindent

set tabstop=4

set softtabstop=4

set shiftwidth=4

set shiftround

set expandtab

"set number

" Move

inoremap <C-a> <Home>

inoremap <C-e> <End>

inoremap <C-p> <Up>

inoremap <C-n> <Down>

inoremap <C-b> <Left>

inoremap <C-f> <Right>

" delete

inoremap <C-u> <Esc>d0cl

inoremap <C-k> <Esc><Right>C

inoremap <C-d> <Esc><Right>s

---------------------------------------------------------

将capslock 映射到esc键


Windows Registry Editor Version 5.00


[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]

"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,01,00,3a,00,00,00,00,00 


使用按键映射软件MapKeyboard 更好。

spacer.gif

-------------------------------------------------------------



AutoHotkey  设置键盘按键绑定

return

^h::send,{BS}      ;将ctrl+f 映射到删除键

Lctrl & m::send,{Enter}   ;将ctrl+m 映射到回车键

CapsLock::send,{Esc}  ;将CapsLock 映射到Esc

Lctrl & p::send,{Up}       ;将ctrl+p 映射到方向键上

Lctrl & n::send,{Down}       ;将ctrl+n 映射到方向键下

Lctrl & b::send,{Left}       ;将ctrl+b 映射到方向键左

Lctrl & f::send,{Right}  ;将左ctrl+f 映射到方向键右

Lctrl & a::send,{Home}  ;将左ctrl+a 映射到Home键

Lctrl & e::send,{End}    ;将左ctrl+e 映射到End键

Lctrl & x::send,{Esc}:q{!} ;将ctrl+x 映射到 esc+:+q+!,用于vim快速不保存退出文件

Lctrl & Space::send,^{Enter} ;将ctrl+空格 映射到ctrl+回车,用于qq恢复消息

Lctrl & v::send,+{Insert}    ;将ctrl+v    映射到shift+Insert,用于终端下粘贴文本

#f::send,^f        ;将win+f 映射到ctrl+f,用于搜索快捷键

#a::send,^a        ;将win+a 映射到ctrl+a上                


;修改输入法的快捷键,效果会更好1
--------------------------------------------------


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章