From 125156a2ce9a7666c5a86b3c69b94d2751eb540d Mon Sep 17 00:00:00 2001
From: eug-vs <eug-vs@keemail.me>
Date: Tue, 8 Dec 2020 01:03:46 +0300
Subject: chore: update wiki and move it to Documents

---
 .vimrc                  |  2 +-
 Documents/wiki/i3wm.md  | 15 ++++++++++++
 Documents/wiki/index.md | 12 ++++++++++
 Documents/wiki/vim.md   | 33 +++++++++++++++++++++++++
 wiki/dotfiles/index.md  | 11 ---------
 wiki/dotfiles/vim.md    | 64 -------------------------------------------------
 wiki/dotfiles/xorg.md   | 17 -------------
 7 files changed, 61 insertions(+), 93 deletions(-)
 create mode 100644 Documents/wiki/i3wm.md
 create mode 100644 Documents/wiki/index.md
 create mode 100644 Documents/wiki/vim.md
 delete mode 100644 wiki/dotfiles/index.md
 delete mode 100644 wiki/dotfiles/vim.md
 delete mode 100644 wiki/dotfiles/xorg.md

diff --git a/.vimrc b/.vimrc
index 6ec5116..b9830a1 100644
--- a/.vimrc
+++ b/.vimrc
@@ -114,7 +114,7 @@ vnoremap < <gv
 vnoremap > >gv
 
 " Vimwiki
-let g:vimwiki_list = [{'path': '~/wiki/', 'syntax': 'markdown', 'ext': '.md'}]
+let g:vimwiki_list = [{'path': '~/Documents/wiki/', 'syntax': 'markdown', 'ext': '.md'}]
 nnoremap <Leader>c :let &cole=(&cole == 2) ? 0 : 2 <bar> echo 'conceallevel ' . &cole <CR>
 
 function! VimwikiLinkHandler(link)
diff --git a/Documents/wiki/i3wm.md b/Documents/wiki/i3wm.md
new file mode 100644
index 0000000..2002f6e
--- /dev/null
+++ b/Documents/wiki/i3wm.md
@@ -0,0 +1,15 @@
+# i3wm
+
+## Workspace generator
+Script `~/.vifm/scripts/i3-workspace.sh` provides an easy-to-use layout generator:
+```bash
+./i3-workspace.sh ~/path/to/my/working/directory
+```
+It open opens `nvim` + 2 instances of `alacritty` in a new workspace. This script is aliasde to `:w` command in `vifm`.
+
+## Bassboost mode
+While key combination `win+b` is pressed, **crazy mic bassboost mode** is active. Basically it's just the toggle between two mic volumes - default and very high (up to the point when it starts distorting).
+This is just for fun and probably should not be here, but I decided to leave it anyway.
+
+**Note**: using this is dangerous since it might hurt someone's ears or damage the microphone.
+
diff --git a/Documents/wiki/index.md b/Documents/wiki/index.md
new file mode 100644
index 0000000..8385adc
--- /dev/null
+++ b/Documents/wiki/index.md
@@ -0,0 +1,12 @@
+# dotfiles
+This repo contains dotfiles, configs and environment settings for my Arch setup.
+Documentation is managed via [vimwiki](https://github.com/vimwiki/vimwiki) plugin.
+
+Github repo: [dotfiles](https://github.com/eug-vs/dotfiles)
+
+Author: [eug-vs](https://github.com/eug-vs/)
+
+## Wiki
+ - [i3wm](i3wm) - my customizations of i3 tiling window manager
+ - [vim](vim.md) - minimal Neovim configuration and tips
+
diff --git a/Documents/wiki/vim.md b/Documents/wiki/vim.md
new file mode 100644
index 0000000..724ef7c
--- /dev/null
+++ b/Documents/wiki/vim.md
@@ -0,0 +1,33 @@
+# Vim
+
+After having used [Spacevim](https://spacevim.org/) for quite a while,
+I've decided to switch back to classic Neovim and keep configuration as tight and minimal as possible.
+
+I keep my configuration in casual `~/.vimrc` which is sourced by Neovim in `init.vim`.
+
+## NerdFonts
+I use `DejaVu Sans Mono` - download from [AUR](https://aur.archlinux.org/packages/nerd-fonts-dejavu-complete/)
+
+## Vim-plug
+Some functionality still requires me to install a few plugins, and `vim-plug` is my plugin manager of choice.
+Intsallation (note that command is custom):
+```bash
+curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
+```
+
+All plugins are listed in [`.config/nvim/vim-plug/plugins.vim`](../../.config/nvim/vim-plug/plugins.vim) and sourced from `init.vim` directly (before `~/.vimrc`).
+
+## Featured plugins
+
+### [Defx](https://github.com/Shougo/defx.nvim)
+I like to always keep a tree-view of my project at hand. This is the best option out there - dark-powered file explorer.
+
+### [Startify](https://github.com/mhinz/vim-startify)
+Provides a cool startup screen. Also allows to manage sessions more easily, but I haven't got used to them yet.
+Not essential, I might get rid of it in future.
+
+### [VimWiki](https://github.com/vimwiki/vimwiki)
+VimWiki made this documentation possible.
+
+Custom mapping: `<Leader>c` - toggle conceal level (to comfortably edit links)
+
diff --git a/wiki/dotfiles/index.md b/wiki/dotfiles/index.md
deleted file mode 100644
index 1088a39..0000000
--- a/wiki/dotfiles/index.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# dotfiles
-This repo contains configs, dotfiles and environment settings for my Arch linux setup.
-Github repo: [dotfiles](https://github.com/eug-vs/dotfiles)
-Owner: [eug-vs](https://github.com/eug-vs/)
-
-## Wiki
- - [Vim-related stuff](vim.md) (my minimal `nvim` and `vifm` configuration)
- - [Xorg](xorg.md) (featuring `i3 Window Manager` config)
-
-## TODO
- - resolve old relative links
diff --git a/wiki/dotfiles/vim.md b/wiki/dotfiles/vim.md
deleted file mode 100644
index 16bf2c3..0000000
--- a/wiki/dotfiles/vim.md
+++ /dev/null
@@ -1,64 +0,0 @@
-# Vim
-
-After having used [Spacevim](https://spacevim.org/) for quite a while,
-I've decided to switch back to classic Neovim and keep configuration as tight and minimal as possible.
-
-I keep my configuration in casual `~/.vimrc` which is sourced by Neovim in `init.vim`.
-
-## Vim-plug
-Some functionality still requires me to install a few plugins, and `vim-plug` is my plugin manager of choice.
-Intsallation (note that command differs from default):
-```bash
-curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
-```
-
-All plugins are listed in [`config/nvim/vim-plug/plugins.vim`](vfile:../config/nvim/vim-plug/plugins.vim) and sourced from `init.vim` directly (before `~/.vimrc`).
-Current list of plugins:
- - Defx - I like to always keep a tree-view of my project at hand. This is the best option out there
- - Startify - Cool startup screen and session manager
- - Vimwiki - Manage my markdown docs
-
-## NerdFonts
-Download from [AUR](https://aur.archlinux.org/packages/nerd-fonts-dejavu-complete/)
-
-## VimWiki
-`VimWiki` can be accessed by `<Leader>ww` from any `Vim` instance (requires `env` repo to be in `~/Documents/Projects/`).
-
-To toggle conceal level (to comfortably edit links) use `<Leader>c`.
-
-## Vifm
-
-### Inactive pane displays ugly
-Remove line containing `OtherWin` in [`$VIFM/colors/Default.vifm`](vfile:~/.config/vifm/colors/Default.vifm)
-
-### Remove borders
-Replace all occurences of `ctermbg=white` with `ctermbg=black` in [the same file](vfile:~/.config/vifm/colors/Default.vifm).
-
-### Icons
-Support icons - extend [`vifmrc`](vfile:~/.config/vifm/vifmrc):
-```
-" file types
-set classify=' :dir:/, :exe:, :reg:, :link:'
-" various file names
-set classify+=' ::../::, ::*.sh::, ::/^copying|license$/::, ::.git/,,*.git/::, ::*.epub,,*.fb2,,*.djvu::, ::*.pdf::, ::*.htm,,*.html,,**.[sx]html,,*.xml::'
-" archives
-set classify+=' ::*.7z,,*.ace,,*.arj,,*.bz2,,*.cpio,,*.deb,,*.dz,,*.gz,,*.jar,,*.lzh,,*.lzma,,*.rar,,*.rpm,,*.rz,,*.tar,,*.taz,,*.tb2,,*.tbz,,*.tbz2,,*.tgz,,*.tlz,,*.trz,,*.txz,,*.tz,,*.tz2,,*.xz,,*.z,,*.zip,,*.zoo::'
-" images
-set classify+=' ::*.bmp,,*.gif,,*.jpeg,,*.jpg,,*.ico,,*.png,,*.ppm,,*.svg,,*.svgz,,*.tga,,*.tif,,*.tiff,,*.xbm,,*.xcf,,*.xpm,,*.xspf,,*.xwd::'
-" audio
-set classify+=' ::*.aac,,*.anx,,*.asf,,*.au,,*.axa,,*.flac,,*.m2a,,*.m4a,,*.mid,,*.midi,,*.mp3,,*.mpc,,*.oga,,*.ogg,,*.ogx,,*.ra,,*.ram,,*.rm,,*.spx,,*.wav,,*.wma,,*.ac3::'
-" media
-set classify+=' ::*.avi,,*.axv,,*.divx,,*.m2v,,*.m4p,,*.m4v,,.mka,,*.mkv,,*.mov,,*.mp4,,*.flv,,*.mp4v,,*.mpeg,,*.mpg,,*.nuv,,*.ogv,,*.pbm,,*.pgm,,*.qt,,*.vob,,*.wmv,,*.xvid::'
-" office files
-set classify+=' ::*.doc,,*.docx::, ::*.xls,,*.xls[mx]::, ::*.pptx,,*.ppt::'
-" development
-set classify+=' ::*.js,,*.jsx::, ::*.ts,,*.tsx::, ::*.md::, ::*.json::, ::*.c,,*.cc,,*.h,,*.cpp::, ::*.vim::'
-```
-
-
-### Open dir as i3 workspace
-To use [workspace generator script](xorg.md) in `vifm`, add this line to [`vifmrc`](vfile:~/.config/vifm/vifmrc), preferably where all `!command` lines are (around line ~140):
-```
-command! w :!i3-workspace.sh %d/%c
-```
-
diff --git a/wiki/dotfiles/xorg.md b/wiki/dotfiles/xorg.md
deleted file mode 100644
index c44789b..0000000
--- a/wiki/dotfiles/xorg.md
+++ /dev/null
@@ -1,17 +0,0 @@
-# Xorg
-
-## i3wm
-
-### Workspace generator
-Script `/bin/i3-workspace.sh` provides an easy-to-use layout generator:
-```bash
-./i3-workspace.sh ~/path/to/my/working/directory
-```
-It will open `nvim` + `alacritty` in a new workspace. It is prefered to move it to bin and alias to some command in [vifm](vim.md).
-
-### Bassboost mode
-While key combination `win+b` is pressed, **crazy bassboost mic mode** is active. Basically it's just the toggle between two mic volumes - default and very high (up to the point when it starts distorting).
-This is just for fun and probably should not be here, but I decided to leave it anyway.
-
-**Note**: using this is dangerous since it might hurt someone's ears or damage the microphone.
-
-- 
cgit v1.2.3