diff options
author | cbreton <corentin.breton@fullsave.com> | 2020-01-20 10:03:54 +0100 |
---|---|---|
committer | cbreton <corentin.breton@fullsave.com> | 2020-01-20 10:03:54 +0100 |
commit | c135875a4aa12e1eeeff6086642852bc9a42bd85 (patch) | |
tree | 458bad0e7d5063b52bbe05989dd4de686d59ca58 | |
parent | 0d82cf917b3081260a85e5233c2b9638a2c02fa9 (diff) | |
download | dotfiles-c135875a4aa12e1eeeff6086642852bc9a42bd85.tar.xz dotfiles-c135875a4aa12e1eeeff6086642852bc9a42bd85.zip |
Add more cheatsheets
-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 |