1. 程式人生 > >效率軟件設置

效率軟件設置

效率

利用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 更好。

技術分享

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



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
--------------------------------------------------


效率軟件設置