From 125156a2ce9a7666c5a86b3c69b94d2751eb540d Mon Sep 17 00:00:00 2001 From: eug-vs Date: Tue, 8 Dec 2020 01:03:46 +0300 Subject: chore: update wiki and move it to Documents --- Documents/wiki/i3wm.md | 15 +++++++++++++++ Documents/wiki/index.md | 12 ++++++++++++ Documents/wiki/vim.md | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 60 insertions(+) create mode 100644 Documents/wiki/i3wm.md create mode 100644 Documents/wiki/index.md create mode 100644 Documents/wiki/vim.md (limited to 'Documents/wiki') 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: `c` - toggle conceal level (to comfortably edit links) + -- cgit v1.2.3