Merge branch 'master' of https://gitlab.com/sagev9000/dotfiles
This commit is contained in:
commit
75ca94b41c
|
@ -46,6 +46,7 @@ alias systemctl="sudo systemctl"
|
||||||
alias fin="find -iname "
|
alias fin="find -iname "
|
||||||
|
|
||||||
alias python="python3"
|
alias python="python3"
|
||||||
|
alias py="python3"
|
||||||
|
|
||||||
# Use `grubdate` to update grub
|
# Use `grubdate` to update grub
|
||||||
alias grubdate="sudo update-grub"
|
alias grubdate="sudo update-grub"
|
||||||
|
@ -62,10 +63,13 @@ alias open2=_open2
|
||||||
alias pp=poweroff
|
alias pp=poweroff
|
||||||
alias pwoeroff=poweroff
|
alias pwoeroff=poweroff
|
||||||
|
|
||||||
# Use `ll` to get a detailed list of files
|
# Use `ll` to get a detailed list of files, sorted by size
|
||||||
alias ll='ls --color=auto -Flh -w 80'
|
alias ll='ls --color=auto -FlrSh -w 80'
|
||||||
alias ls='ls --color=auto -F -w 80'
|
alias ls='ls --color=auto -F -w 80'
|
||||||
|
|
||||||
|
# Using du automatically finds the total
|
||||||
|
alias du='du -sh'
|
||||||
|
|
||||||
alias tags='ctags -f newtags -R . && mv newtags tags'
|
alias tags='ctags -f newtags -R . && mv newtags tags'
|
||||||
|
|
||||||
alias newvpn='sudo openvpn --config ~/.ssh/sagev.ovpn'
|
alias newvpn='sudo openvpn --config ~/.ssh/sagev.ovpn'
|
||||||
|
|
2
.vimrc
2
.vimrc
|
@ -104,6 +104,8 @@ nnoremap gs "xdiwdwep"xp
|
||||||
" Inverted
|
" Inverted
|
||||||
nnoremap gb dawbP
|
nnoremap gb dawbP
|
||||||
|
|
||||||
|
nnoremap <Leader>c :!cat % <Bar> xclip -selection clipboard<CR>
|
||||||
|
|
||||||
nnoremap <Leader>p :w<CR>:!make run<CR>
|
nnoremap <Leader>p :w<CR>:!make run<CR>
|
||||||
|
|
||||||
nnoremap <Leader>gd :!git diff %<CR>
|
nnoremap <Leader>gd :!git diff %<CR>
|
||||||
|
|
Loading…
Reference in New Issue