Merge pull request #3 from Jidbo/no-arrows

No arrows
This commit is contained in:
saibotk 2019-01-24 11:09:11 +01:00 committed by GitHub
commit 65304e53bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 1 deletions

8
.vimrc
View file

@ -123,6 +123,12 @@ set foldlevel=99
" remap code folding
nnoremap <leader>g za
" disable arrow keys
noremap <Up> <Nop>
noremap <Down> <Nop>
noremap <Left> <Nop>
noremap <Right> <Nop>
" html css js indents
au BufNewFile,BufRead *.js, *.html, *.css
\ set tabstop=4 |
@ -130,6 +136,8 @@ au BufNewFile,BufRead *.js, *.html, *.css
\ set shiftwidth=4
" PLUGIN SETTINGS
" polyglot setup
let g:polyglot_disabled = ["latex"]
" nerd tree setup
let NERDTreeIgnore=['\.pyc$', '\~$'] "ignore files in NERDTree
map <leader>e :NERDTreeToggle<CR>

1
.zshrc
View file

@ -33,6 +33,7 @@ export EDITOR='vim'
alias ll='ls -l'
alias vi='vim'
alias la='ls -la'
alias :q='exit'
if [ -f ~/.dotfiles/.localcommands ]; then
source ~/.dotfiles/.localcommands