From 51572e04fd70fb54730a2840b46f3a36b1932174 Mon Sep 17 00:00:00 2001 From: McSinyx Date: Mon, 6 Jun 2016 16:18:38 +0700 Subject: Edit keymaps --- ranger/.config/ranger/bookmarks | 2 +- ranger/.config/ranger/history | 10 +- vim/.vim/bundle/gruvbox | 2 +- vim/.vim/keymap/vietnamese-telex_utf-8.vim | 3 +- vim/.vim/keymap/vietnamese-viqr_utf-8.vim | 160 -------------- vim/.vim/keymap/vietnamese-vni_utf-8.vim | 331 +++++++++++++++-------------- vim/.vimrc | 5 +- 7 files changed, 189 insertions(+), 324 deletions(-) delete mode 100644 vim/.vim/keymap/vietnamese-viqr_utf-8.vim diff --git a/ranger/.config/ranger/bookmarks b/ranger/.config/ranger/bookmarks index efae1f3..40fcee6 100644 --- a/ranger/.config/ranger/bookmarks +++ b/ranger/.config/ranger/bookmarks @@ -1 +1 @@ -':/usr/share/vim/vim74/keymap +':/home/cnx/.dotfiles/vim/.vim/bundle diff --git a/ranger/.config/ranger/history b/ranger/.config/ranger/history index 487e127..b43ae5f 100644 --- a/ranger/.config/ranger/history +++ b/ranger/.config/ranger/history @@ -1,7 +1,3 @@ -rename -search -cd .vim -ls -l cd /home/cnx/.vim/bundle rename README-vi.md rename README-vi.pdf @@ -29,7 +25,6 @@ mkdir ranger mkdir .config mkdir bin rename swampy - shell unzip swampy-2.1.5.python3.zip mkdir beej cd .local/ @@ -48,3 +43,8 @@ delete mkdir GNU cd /usr/include/ search std +cd /usr/share/vim/vim74 +cd /home/cnx/.dotfiles/ + +shell +shell bash diff --git a/vim/.vim/bundle/gruvbox b/vim/.vim/bundle/gruvbox index e4ba7ab..91bae68 160000 --- a/vim/.vim/bundle/gruvbox +++ b/vim/.vim/bundle/gruvbox @@ -1 +1 @@ -Subproject commit e4ba7abe5ccccc0ebea0e33a4e045f96311020d8 +Subproject commit 91bae6876031ececf151cc4f28aa5fb8c93681e4 diff --git a/vim/.vim/keymap/vietnamese-telex_utf-8.vim b/vim/.vim/keymap/vietnamese-telex_utf-8.vim index 09de8f0..cbd1bee 100644 --- a/vim/.vim/keymap/vietnamese-telex_utf-8.vim +++ b/vim/.vim/keymap/vietnamese-telex_utf-8.vim @@ -1,12 +1,13 @@ " Vim Keymap file for Vietnamese through Telex method " Maintainer: McSinyx -" Last Change: +" Last Change: 2016-06-06 scriptencoding utf-8 let b:keymap_name = "vi" loadkeymap + A\\ A Af À As Á diff --git a/vim/.vim/keymap/vietnamese-viqr_utf-8.vim b/vim/.vim/keymap/vietnamese-viqr_utf-8.vim deleted file mode 100644 index b17be6d..0000000 --- a/vim/.vim/keymap/vietnamese-viqr_utf-8.vim +++ /dev/null @@ -1,160 +0,0 @@ -" Vim Keymap file for vietnamese through the usual viqr method -" Maintainer: Samuel Thibault -" Last Change: 2006 Jun 17 - -scriptencoding utf-8 - -let b:keymap_name = "vietnamese" - -loadkeymap -a a -A A -a` à -A` À -a? ả -A? Ả -a~ ã -A~ Ã -a' á -A' Á -a. ạ -A. Ạ -a( ă -A( Ă -a(` ằ -A(` Ằ -a(? ẳ -A(? Ẳ -a(~ ẵ -A(~ Ẵ -a(' ắ -A(' Ắ -a(. ặ -A(. Ặ -a^ â -A^ Â -a^` ầ -A^` Ầ -a^? ẩ -A^? Ẩ -a^~ ẫ -A^~ Ẫ -a^' ấ -A^' Ấ -a^. ậ -A^. Ậ -d d -D D -dd đ -Dd Đ -DD Đ -e e -E E -e` è -E` È -e? ẻ -E? Ẻ -e~ ẽ -E~ Ẽ -e' é -E' É -e. ẹ -E. Ẹ -e^ ê -E^ Ê -e^` ề -E^` Ề -e^? ể -E^? Ể -e^~ ễ -E^~ Ễ -e^' ế -E^' Ế -e^. ệ -E^. Ệ -i i -I I -i` ì -I` Ì -i? ỉ -I? Ỉ -i~ ĩ -I~ Ĩ -i' í -I' Í -i. ị -I. Ị -o o -O O -o` ò -O` Ò -o? ỏ -O? Ỏ -o~ õ -O~ Õ -o' ó -O' Ó -o. ọ -O. Ọ -o^ ô -O^ Ô -o^` ồ -O^` Ồ -o^? ổ -O^? Ổ -o^~ ỗ -O^~ Ỗ -o^' ố -O^' Ố -o^. ộ -O^. Ộ -o+ ơ -O+ Ơ -o+` ờ -O+` Ờ -o+? ở -O+? Ở -o+~ ỡ -O+~ Ỡ -o+' ớ -O+' Ớ -o+. ợ -O+. Ợ -u u -U U -u` ù -U` Ù -u? ủ -U? Ủ -u~ ũ -U~ Ũ -u' ú -U' Ú -u. ụ -U. Ụ -u+ ư -U+ Ư -u+` ừ -U+` Ừ -u+? ử -U+? Ử -u+~ ữ -U+~ Ữ -u+' ứ -U+' Ứ -u+. ự -U+. Ự -y y -Y Y -y` ỳ -Y` Ỳ -y? ỷ -Y? Ỷ -y~ ỹ -Y~ Ỹ -y' ý -Y' Ý -y. ỵ -Y. Ỵ -\\d d -\\D D diff --git a/vim/.vim/keymap/vietnamese-vni_utf-8.vim b/vim/.vim/keymap/vietnamese-vni_utf-8.vim index b17be6d..dc83957 100644 --- a/vim/.vim/keymap/vietnamese-vni_utf-8.vim +++ b/vim/.vim/keymap/vietnamese-vni_utf-8.vim @@ -1,160 +1,183 @@ -" Vim Keymap file for vietnamese through the usual viqr method -" Maintainer: Samuel Thibault -" Last Change: 2006 Jun 17 +" Vim Keymap file for Vietnamese through VNI method +" Maintainer: McSinyx +" Last Change: 2016-06-06 scriptencoding utf-8 let b:keymap_name = "vietnamese" loadkeymap -a a -A A -a` à -A` À -a? ả -A? Ả -a~ ã -A~ Ã -a' á -A' Á -a. ạ -A. Ạ -a( ă -A( Ă -a(` ằ -A(` Ằ -a(? ẳ -A(? Ẳ -a(~ ẵ -A(~ Ẵ -a(' ắ -A(' Ắ -a(. ặ -A(. Ặ -a^ â -A^ Â -a^` ầ -A^` Ầ -a^? ẩ -A^? Ẩ -a^~ ẫ -A^~ Ẫ -a^' ấ -A^' Ấ -a^. ậ -A^. Ậ -d d -D D -dd đ -Dd Đ -DD Đ -e e -E E -e` è -E` È -e? ẻ -E? Ẻ -e~ ẽ -E~ Ẽ -e' é -E' É -e. ẹ -E. Ẹ -e^ ê -E^ Ê -e^` ề -E^` Ề -e^? ể -E^? Ể -e^~ ễ -E^~ Ễ -e^' ế -E^' Ế -e^. ệ -E^. Ệ -i i -I I -i` ì -I` Ì -i? ỉ -I? Ỉ -i~ ĩ -I~ Ĩ -i' í -I' Í -i. ị -I. Ị -o o -O O -o` ò -O` Ò -o? ỏ -O? Ỏ -o~ õ -O~ Õ -o' ó -O' Ó -o. ọ -O. Ọ -o^ ô -O^ Ô -o^` ồ -O^` Ồ -o^? ổ -O^? Ổ -o^~ ỗ -O^~ Ỗ -o^' ố -O^' Ố -o^. ộ -O^. Ộ -o+ ơ -O+ Ơ -o+` ờ -O+` Ờ -o+? ở -O+? Ở -o+~ ỡ -O+~ Ỡ -o+' ớ -O+' Ớ -o+. ợ -O+. Ợ -u u -U U -u` ù -U` Ù -u? ủ -U? Ủ -u~ ũ -U~ Ũ -u' ú -U' Ú -u. ụ -U. Ụ -u+ ư -U+ Ư -u+` ừ -U+` Ừ -u+? ử -U+? Ử -u+~ ữ -U+~ Ữ -u+' ứ -U+' Ứ -u+. ự -U+. Ự -y y -Y Y -y` ỳ -Y` Ỳ -y? ỷ -Y? Ỷ -y~ ỹ -Y~ Ỹ -y' ý -Y' Ý -y. ỵ -Y. Ỵ -\\d d -\\D D + +A\\ A +A1 Á +A2 À +A3 Ả +A4 Ã +A5 Ạ + +A8 Ă +A81 Ắ +A82 Ằ +A83 Ẳ +A84 Ẵ +A85 Ặ + +A6 Â +A61 Ấ +A62 Ầ +A63 Ẩ +A64 Ẫ +A65 Ậ + +D\\ D +D9 Đ + +E\\ E +E1 É +E2 È +E3 Ẻ +E4 Ẽ +E5 Ẹ + +E6 Ê +E61 Ế +E62 Ề +E63 Ể +E64 Ễ +E65 Ệ + +I\\ I +I1 Í +I2 Ì +I3 Ỉ +I4 Ĩ +I5 Ị + +O\\ O +O1 Ó +O2 Ò +O3 Ỏ +O4 Õ +O5 Ọ + +O6 Ô +O61 Ố +O62 Ồ +O63 Ổ +O64 Ỗ +O65 Ộ + +O7 Ơ +O71 Ớ +O72 Ờ +O73 Ở +O74 Ỡ +O75 Ợ + +U\\ U +U1 Ú +U2 Ù +U3 Ủ +U4 Ũ +U5 Ụ + +U7 Ư +U71 Ứ +U72 Ừ +U73 Ử +U74 Ữ +U75 Ự + +Y\\ Y +Y1 Ý +Y2 Ỳ +Y3 Ỷ +Y4 Ỹ +Y5 Ỵ + +a\\ a +a1 á +a2 à +a3 ả +a4 ã +a5 ạ + +a8 ă +a81 ắ +a82 ằ +a83 ẳ +a84 ẵ +a85 ặ + +a6 â +a61 ấ +a62 ầ +a63 ẩ +a64 ẫ +a65 ậ + +d\\ d +d9 đ + +e\\ e +e1 é +e2 è +e3 ẻ +e4 ẽ +e5 ẹ + +e6 ê +e61 ế +e62 ề +e63 ể +e64 ễ +e65 ệ + +i\\ i +i1 í +i2 ì +i3 ỉ +i4 ĩ +i5 ị + +o\\ o +o1 ó +o2 ò +o3 ỏ +o4 õ +o5 ọ + +o6 ô +o61 ố +o62 ồ +o63 ổ +o64 ỗ +o65 ộ + +o7 ơ +o71 ớ +o72 ờ +o73 ở +o74 ỡ +o75 ợ + +u\\ u +u1 ú +u2 ù +u3 ủ +u4 ũ +u5 ụ + +u7 ư +u71 ứ +u72 ừ +u73 ử +u74 ữ +u75 ự + +y\\ y +y1 ý +y2 ỳ +y3 ỷ +y4 ỹ +y5 ỵ diff --git a/vim/.vimrc b/vim/.vimrc index b7dddfb..f55b7e3 100755 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -12,11 +12,12 @@ set confirm set list listchars+=tab:\|\ set number relativenumber lazyredraw set tabstop=8 expandtab shiftwidth=4 softtabstop=4 smarttab -set notimeout -set imdisable set omnifunc=syntaxcomplete#Complete set tags+=~/.vim/systags set dictionary=/usr/share/dict/words +set imdisable +set keymap=vietnamese-telex +set iminsert=0 syntax keyword pythonBoolean False True None autocmd BufNewFile,BufRead *.PAS set filetype=pascal autocmd FileType vim,pascal setlocal shiftwidth=2 tabstop=2 -- cgit 1.4.1