2
0
mirror of https://github.com/webgefrickel/dotfiles synced 2024-11-03 15:40:30 +00:00

libreoffice lock files in gitignore, vim sourcing, l alias

This commit is contained in:
Steffen Becker 2013-05-16 17:23:35 +02:00
parent b2a809d317
commit 336614e5ab
3 changed files with 4 additions and 1 deletions

View File

@ -11,6 +11,7 @@
# some folders
*~
.~lock*
.tmp_*
.sass-cache
*.sass-cache

3
vimrc
View File

@ -206,8 +206,9 @@ nnoremap <leader><space> :noh<cr>
nnoremap <leader>\ <C-w>v<C-w>l
nnoremap <leader>- <C-w>s<C-w>j
" open a new split and edit the vimrc
" open a new split and edit the vimrc // easy sourcing vimrc
nnoremap <leader>v <C-w>v<C-w>l :e ~/.vimrc<cr>
nnoremap <leader>s :source ~/.vimrc<cr>
" Opens an edit command with the path of the currently edited file filled in
nnoremap <leader>e :e <C-R>=expand("%:p:h") . "/" <CR>

1
zshrc
View File

@ -67,6 +67,7 @@ alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
alias .....='cd ../../../..'
alias l='ls -al'
# Shortcuts
alias drop='cd ~/Dropbox && ls -al'