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:
parent
b2a809d317
commit
336614e5ab
@ -11,6 +11,7 @@
|
|||||||
|
|
||||||
# some folders
|
# some folders
|
||||||
*~
|
*~
|
||||||
|
.~lock*
|
||||||
.tmp_*
|
.tmp_*
|
||||||
.sass-cache
|
.sass-cache
|
||||||
*.sass-cache
|
*.sass-cache
|
||||||
|
3
vimrc
3
vimrc
@ -206,8 +206,9 @@ nnoremap <leader><space> :noh<cr>
|
|||||||
nnoremap <leader>\ <C-w>v<C-w>l
|
nnoremap <leader>\ <C-w>v<C-w>l
|
||||||
nnoremap <leader>- <C-w>s<C-w>j
|
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>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
|
" Opens an edit command with the path of the currently edited file filled in
|
||||||
nnoremap <leader>e :e <C-R>=expand("%:p:h") . "/" <CR>
|
nnoremap <leader>e :e <C-R>=expand("%:p:h") . "/" <CR>
|
||||||
|
1
zshrc
1
zshrc
@ -67,6 +67,7 @@ alias ..='cd ..'
|
|||||||
alias ...='cd ../..'
|
alias ...='cd ../..'
|
||||||
alias ....='cd ../../..'
|
alias ....='cd ../../..'
|
||||||
alias .....='cd ../../../..'
|
alias .....='cd ../../../..'
|
||||||
|
alias l='ls -al'
|
||||||
|
|
||||||
# Shortcuts
|
# Shortcuts
|
||||||
alias drop='cd ~/Dropbox && ls -al'
|
alias drop='cd ~/Dropbox && ls -al'
|
||||||
|
Loading…
Reference in New Issue
Block a user