Explorar o código

correct bad logic in RUNME and removed colemak mappings in vim

Weiyi Lou %!s(int64=13) %!d(string=hai) anos
pai
achega
b4ee8bf5b3
Modificáronse 2 ficheiros con 39 adicións e 39 borrados
  1. 4 4
      RUNME
  2. 35 35
      vim/vimrc

+ 4 - 4
RUNME

@@ -23,22 +23,22 @@ ln -s dotFiles/screen/screenrc ~/.screenrc
 # Make a known_hosts file if none, otherwise zsh throws an error for our .zshrc
 echo "Checking for known_hosts in ~/.ssh/..."
 if test -f "~/.ssh/known_hosts"; then
+  echo "known_hosts found..."
+else
   echo "Does not exist. Creating..."
   mkdur -p ~/.ssh
   touch ~/.ssh/known_hosts
-else
-  echo "known_hosts found. All good..."
 fi
 
 # Ack for this user (perl 5.8.8 or higher on system)
 # Curl may need to have proxy settings
 echo "Checking for ack in ~/bin/..."
 if test -f "~/bin/ack"; then
+  echo "ack found..."
+else
   echo "Downloading ack from betterthangrep.com..."
   mkdir -p ~/bin
   curl http://betterthangrep.com/ack-standalone > ~/bin/ack && chmod 0755 !#:3 
-else
-  echo "Skipping ack download: already installed..."
 fi
 
 # This repository has vim plugins as submodules, so initialise and clone them in

+ 35 - 35
vim/vimrc

@@ -171,41 +171,41 @@ vnoremap <leader>A :LAck <cword><CR>
 " Colemak layout for INSERT mode only
 " Qwerty  - qwertyuiopasdfghjkl;'zxcvbnm,./
 " Colemak - qwfpgjluy;arstdhneio'zxcvbkm,./
-inoremap <silent> e f
-inoremap <silent> r p
-inoremap <silent> t g
-inoremap <silent> y j
-inoremap <silent> u l
-inoremap <silent> i u
-inoremap <silent> o y
-inoremap <silent> p ;
-inoremap <silent> s r
-inoremap <silent> d s
-inoremap <silent> f t
-inoremap <silent> g d
-inoremap <silent> j n
-inoremap <silent> k e
-inoremap <silent> l i
-inoremap <silent> ; o
-inoremap <silent> n k
-
-inoremap <silent> E F
-inoremap <silent> R P
-inoremap <silent> T G
-inoremap <silent> Y J
-inoremap <silent> U L
-inoremap <silent> I U
-inoremap <silent> O Y
-inoremap <silent> P :
-inoremap <silent> S R
-inoremap <silent> D S
-inoremap <silent> F T
-inoremap <silent> G D
-inoremap <silent> J N
-inoremap <silent> K E
-inoremap <silent> L I
-inoremap <silent> : O
-inoremap <silent> N K
+"inoremap <silent> e f
+"inoremap <silent> r p
+"inoremap <silent> t g
+"inoremap <silent> y j
+"inoremap <silent> u l
+"inoremap <silent> i u
+"inoremap <silent> o y
+"inoremap <silent> p ;
+"inoremap <silent> s r
+"inoremap <silent> d s
+"inoremap <silent> f t
+"inoremap <silent> g d
+"inoremap <silent> j n
+"inoremap <silent> k e
+"inoremap <silent> l i
+"inoremap <silent> ; o
+"inoremap <silent> n k
+
+"inoremap <silent> E F
+"inoremap <silent> R P
+"inoremap <silent> T G
+"inoremap <silent> Y J
+"inoremap <silent> U L
+"inoremap <silent> I U
+"inoremap <silent> O Y
+"inoremap <silent> P :
+"inoremap <silent> S R
+"inoremap <silent> D S
+"inoremap <silent> F T
+"inoremap <silent> G D
+"inoremap <silent> J N
+"inoremap <silent> K E
+"inoremap <silent> L I
+"inoremap <silent> : O
+"inoremap <silent> N K
 
 
 """"""""