Merge branch 'master' of gitlab.com:dwt1/dotfiles
This commit is contained in:
commit
4ee4e33837
2
.bashrc
2
.bashrc
|
@ -149,7 +149,7 @@ alias yaysyu='yay -Syu --noconfirm' # update standard pkgs and AUR
|
|||
alias parsua='paru -Sua --noconfirm' # update only AUR pkgs (paru)
|
||||
alias parsyu='paru -Syu --noconfirm' # update standard pkgs and AUR pkgs (paru)
|
||||
alias unlock='sudo rm /var/lib/pacman/db.lck' # remove pacman lock
|
||||
alias cleanup='sudo pacman -Rns (pacman -Qtdq)' # remove orphaned packages
|
||||
alias cleanup='sudo pacman -Rns $(pacman -Qtdq)' # remove orphaned packages
|
||||
|
||||
# get fastest mirrors
|
||||
alias mirror="sudo reflector -f 30 -l 30 --number 10 --verbose --save /etc/pacman.d/mirrorlist"
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
:desc "List bookmarks" "L" #'list-bookmarks
|
||||
:desc "Save current bookmarks to bookmark file" "w" #'bookmark-save))
|
||||
|
||||
(global-auto-revert-mode 1)
|
||||
(setq global-auto-revert-non-file-buffers t)
|
||||
|
||||
(evil-define-key 'normal ibuffer-mode-map
|
||||
(kbd "f c") 'ibuffer-filter-by-content
|
||||
(kbd "f d") 'ibuffer-filter-by-directory
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
- [[#bookmarks-and-buffers][BOOKMARKS AND BUFFERS]]
|
||||
- [[#bookmarks][Bookmarks]]
|
||||
- [[#buffers][Buffers]]
|
||||
- [[#global-auto-revert][Global Auto Revert]]
|
||||
- [[#keybindings-within-ibuffer-mode][Keybindings within ibuffer mode]]
|
||||
- [[#calendar][CALENDAR]]
|
||||
- [[#centaur-tabs][CENTAUR-TABS]]
|
||||
|
@ -87,6 +88,14 @@ Regarding /buffers/, the text you are editing in Emacs resides in an object call
|
|||
| previous-buffer | Goto previous buffer | SPC b p |
|
||||
| save-buffer | Save current buffer | SPC b s |
|
||||
|
||||
** Global Auto Revert
|
||||
A buffer can get out of sync with respect to its visited file on disk if that file is changed by another program. To keep it up to date, you can enable Auto Revert mode by typing M-x auto-revert-mode, or you can set it to be turned on globally with 'global-auto-revert-mode'. I have also turned on Global Auto Revert on non-file buffers, which is especially useful for 'dired' buffers.
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(global-auto-revert-mode 1)
|
||||
(setq global-auto-revert-non-file-buffers t)
|
||||
#+end_src
|
||||
|
||||
** Keybindings within ibuffer mode
|
||||
| COMMAND | DESCRIPTION | KEYBINDING |
|
||||
|-----------------------------------+----------------------------------------+------------|
|
||||
|
|
|
@ -237,14 +237,14 @@ alias lt='exa -aT --color=always --group-directories-first' # tree listing
|
|||
alias l.='exa -a | egrep "^\."'
|
||||
|
||||
# pacman and yay
|
||||
alias pacsyu='sudo pacman -Syu' # update only standard pkgs
|
||||
alias pacsyu='sudo pacman -Syu' # update only standard pkgs
|
||||
alias pacsyyu='sudo pacman -Syyu' # Refresh pkglist & update standard pkgs
|
||||
alias yaysua='yay -Sua --noconfirm' # update only AUR pkgs (yay)
|
||||
alias yaysyu='yay -Syu --noconfirm' # update standard pkgs and AUR pkgs (yay)
|
||||
alias parsua='paru -Sua --noconfirm' # update only AUR pkgs (paru)
|
||||
alias parsyu='paru -Syu --noconfirm' # update standard pkgs and AUR pkgs (paru)
|
||||
alias unlock='sudo rm /var/lib/pacman/db.lck' # remove pacman lock
|
||||
alias cleanup='sudo pacman -Rns (pacman -Qtdq)' # remove orphaned packages
|
||||
alias cleanup='sudo pacman -Rns (pacman -Qtdq)' # remove orphaned packages
|
||||
|
||||
# get fastest mirrors
|
||||
alias mirror="sudo reflector -f 30 -l 30 --number 10 --verbose --save /etc/pacman.d/mirrorlist"
|
||||
|
|
|
@ -143,9 +143,6 @@ myEditor :: String
|
|||
myEditor = "emacsclient -c -a 'emacs' " -- Sets emacs as editor
|
||||
-- myEditor = myTerminal ++ " -e vim " -- Sets vim as editor
|
||||
|
||||
myRunCommand :: String
|
||||
myRunCommand = "dmenu_run -l 20 -g 3 -X 0 -Y 0 -W 680 -p 'Run: '"
|
||||
|
||||
myBorderWidth :: Dimension
|
||||
myBorderWidth = 2 -- Sets border width for windows
|
||||
|
||||
|
|
|
@ -99,9 +99,6 @@ myEditor :: String
|
|||
myEditor = "emacsclient -c -a 'emacs' " -- Sets emacs as editor
|
||||
-- myEditor = myTerminal ++ " -e vim " -- Sets vim as editor
|
||||
|
||||
myRunCommand :: String
|
||||
myRunCommand = "dmenu_run -l 20 -g 3 -X 0 -Y 0 -W 680 -p 'Run: '"
|
||||
|
||||
myBorderWidth :: Dimension
|
||||
myBorderWidth = 2 -- Sets border width for windows
|
||||
|
||||
|
|
2
.zshrc
2
.zshrc
|
@ -145,7 +145,7 @@ alias yaysyu='yay -Syu --noconfirm' # update standard pkgs and AUR
|
|||
alias parsua='paru -Sua --noconfirm' # update only AUR pkgs (paru)
|
||||
alias parsyu='paru -Syu --noconfirm' # update standard pkgs and AUR pkgs (paru)
|
||||
alias unlock='sudo rm /var/lib/pacman/db.lck' # remove pacman lock
|
||||
alias cleanup='sudo pacman -Rns (pacman -Qtdq)' # remove orphaned packages
|
||||
alias cleanup='sudo pacman -Rns $(pacman -Qtdq)' # remove orphaned packages
|
||||
|
||||
# get fastest mirrors
|
||||
alias mirror="sudo reflector -f 30 -l 30 --number 10 --verbose --save /etc/pacman.d/mirrorlist"
|
||||
|
|
Loading…
Reference in New Issue