Browse Source

Add efivars mount ro, add vimrc

master
Riyyi 6 years ago
parent
commit
54ce47cc32
  1. 8
      README.md
  2. 13
      etc/vimrc

8
README.md

@ -83,7 +83,7 @@ All packages that are manually installed via pacman -S, dependencies not include
python2-setuptools
python2-click-5.1 (AUR)
platformio (AUR)
vim
gvim
checkbashisms (AUR)
xss-lock-git (AUR)
inkscape
@ -176,3 +176,9 @@ Set Firefox as default browser:
```sh
$ xdg-settings set default-web-browser firefox.desktop
```
Prevent bricking motherboard by mounting efivars read-only:<br>
https://wiki.archlinux.org/index.php/Unified_Extensible_Firmware_Interface#Mount_efivarfs
```sh
$ nano /etc/fstab
(add)efivarfs /sys/firmware/efi/efivars efivarfs ro,nosuid,nodev,noexec,noatime 0 0
```

13
etc/vimrc

@ -0,0 +1,13 @@
set nocompatible " Use Vim defaults instead of 100% vi compatibility
set backspace=indent,eol,start " more powerful backspacing
" Now we set some defaults for the editor
set history=1000 " keep 50 lines of command line history
set ruler " show the cursor position all the time
" Suffixes that get lower priority when doing tab completion for filenames.
" These are files we are not likely to want to edit or read.
set suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc,.png,.jpg
" Default clipboard register "+ (CLIPBOARD buffer in X)
set clipboard=unnamedplus
Loading…
Cancel
Save