diff options
Diffstat (limited to 'dotfiles')
-rw-r--r-- | dotfiles/cheat/update | 22 | ||||
-rw-r--r-- | dotfiles/cheat/vim | 6 |
2 files changed, 27 insertions, 1 deletions
diff --git a/dotfiles/cheat/update b/dotfiles/cheat/update index 0756fcf..bfd10e4 100644 --- a/dotfiles/cheat/update +++ b/dotfiles/cheat/update @@ -1,5 +1,25 @@ +# Archlinux + +## Test if firmware need to be updated + +List all devices detected by fwupd: + +`sudo fwupdmgr get-devices` + +Download latest metadata from LVFS: + +`sudo fwupdmgr refresh` + +List updates available for any devices on the system: + +`sudo fwupdmgr get-updates` + +Install updates: + +`sudo fwupdmgr update` + # Debian ## test if server need reboot after upgrade -test presence of /var/run/reboot-required +`ls /var/run/reboot-required` diff --git a/dotfiles/cheat/vim b/dotfiles/cheat/vim index ebc509d..fb35287 100644 --- a/dotfiles/cheat/vim +++ b/dotfiles/cheat/vim @@ -78,3 +78,9 @@ d{motion} delete text that {motion} moves over # SimpleWorkspaces.vim To add the current dir in a Workspace: `:WorkspaceInit` And save it in a better name: `:WorkspaceSave {name}` + +# folding +# (collapse or no) + +:set foldmethod=indent foldlevel=1 +za # toggle indent |