aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* [Git] Update ignore file to include `/vim/spell`Federico Igne2019-01-271-1/+3
|
* [Vim] Add "Vim-BBye" pluginFederico Igne2019-01-273-3/+10
| | | | | | | | | | | This plugin overrides the standard `:bdelete` and `:bwipeout` commands with capitalized versions with the following advantages: + Close and remove the buffer; + Show another file in that window; + Show an empty file if you've got no other files open; + Do not leave useless [no file] buffers if you decide to edit another file in that window; + Work even if a file's open in multiple windows; + Work okay with various buffer explorers and tabbars.
* [Vim] Change unnamed register to clipboard (+/*)Federico Igne2019-01-262-36/+72
|
* [Vim] Update plugins to the latest versionFederico Igne2019-01-266-0/+0
|
* [Vim] Activate `matchit` built-in pluginFederico Igne2019-01-261-69/+78
|
* [Vim] Remove `background` optionFederico Igne2019-01-251-21/+12
|
* [Vim] Move mutt autocmdsFederico Igne2019-01-251-11/+6
|
* [Vim] Reintroduce and fix QuickFix toggle functionFederico Igne2019-01-254-21/+14
|
* [Vim] Rework some <leader> key bindingsFederico Igne2019-01-251-52/+41
|
* [Vim] Add binding to redirect selection to ix.ioFederico Igne2019-01-252-1/+11
|
* [Vim] Clean vimrc codeFederico Igne2019-01-251-114/+67
|
* [Vim] Group focus related autocmdsFederico Igne2019-01-252-51/+47
|
* [Vim] Add option to have project configs in the cwdFederico Igne2019-01-251-2/+5
| | | | | Vim will try to source a `.local.vim` file in the cwd. This is useful when you want to have some project specific configuration.
* [Vim] Introduce wrapped for spell checking (+ bindings)Federico Igne2019-01-243-30/+90
| | | | | | | | | | | | | | | | | | | | | The wrapper function introduced allows for more focus on the spell checking errors: + Errors are red and underlined; + Other possible syntactical mistakes are yellow and underlined; + any other text-related highlight group (`Normal` included) turns gray. Note: this is done with a sequence of `highlight` commands that override the current colorscheme. A simplier way would be to turn off syntax detection overall (`set syntax=off`) and just change the `Normal` highlight group. This can cause problems when one wants to limit syntax checking to same part of the text (comments in a programming language), since this is not possible with syntax disabled. Bug: `spell` option is always activated per buffer, while `highlight` commands are global. This can cause problems when one: 1) activates spell checking in one buffer 2) switches to another buffer 3) deactivates spell checking
* [Vim] Clean vimrc codeFederico Igne2019-01-212-70/+25
|
* [Vim] Fix problem with Goyo and statusline updatesFederico Igne2019-01-213-31/+113
|
* [Bash] Add function to properly open Tor BrowserFederico Igne2019-01-122-1/+14
| | | | | | | | | Now it is possible to launch the tor browser from anywhere in a shell. It also enables remote controll by default, so that it is possible to open new tabs from scripts/commandline/other programs. `$TOR_BROWSER_DIR` is the env variable pointing to the directory in which Tor Browser is installed.
* [nnn] Add `cdOnQuit` functionalityFederico Igne2019-01-022-17/+63
|
* [Bash] Add simple Do-Not-Disturb toggle functionFederico Igne2019-01-021-0/+6
|
* [AwesomeWM] Add `lain` library as a submoduleFederico Igne2019-01-022-0/+3
|
* [AwesomeWM] Remove local copy of `lain` libraryFederico Igne2018-12-18108-4706/+0
|
* [Tmux] Add new script to select a Tmux sessionFederico Igne2018-12-072-60/+204
| | | | | | | | | | | | The script (bound to `AltGr+Shift+t`) uses rofi to allow the user to: 1) open a new terminal window without Tmux running; 2) create a new temporary Tmux session; 3) Attach to an existing Tmux session. The script needs to be invoked from a terminal, possibly using a command like `xterm -e /path/to/rofi_tmux_sessions.sh`. The binding `AltGr+t` will simply attach to the `HUB:main` session.
* [Tmux] Change system that handles startup sessionsFederico Igne2018-12-051-41/+76
| | | | | | | | | | The function `tmux-sessions` previously called `t` now takes a list of sessions to start in the background. Controls are still performed to ensure that the corresponding script for the session is trusted by the user. By default the command attaches to the last valid session provided. This behaviour can be avoided with the flag `-d|--detach`.
* [Emacs] Delete Spacemacs configFederico Igne2018-10-231-338/+0
|
* Turn simultaneous `shift` keys into CAPS-LOCKFederico Igne2018-10-021-5/+10
| | | | Also removes URxvt daemon from the starting script.
* [Vim] Display whitespaces with flavourFederico Igne2018-09-271-13/+15
|
* [Vim] Remove paragraph autoformatting (`a` in `formatoptions`)Federico Igne2018-09-271-5/+4
| | | | | This causes problems when the my definition of paragraph is not the same of Vim's.
* [Vim] Enable hard wrap (comments, not code)Federico Igne2018-09-271-65/+58
|
* [Vim] Add guards around some plugin-dependent mappingsFederico Igne2018-09-261-13/+15
| | | | | | | | | | After a chat on #vim we agreed that `if get(g:,'loaded_<plugin>',0)` is the best way to test if a plugin is loaded. It also allows to manually disable a plugin using `let g:loaded_<plugin> = 0` in vimrc. Bear in mind that, despite the fact that initializing said variable is the canonical way of starting a plugin, this is not forced. Plugin authors might be unaware of this and don't provide such a variable.
* [Vim] Add binding to push commits to the current branchFederico Igne2018-09-261-0/+1
| | | | This needs the function `fugitive#head()` from TPope Fugitive plugin.
* [Tmux] Add reasonable bindings to split windowsFederico Igne2018-09-261-50/+8
|
* [Tmux] Enable mouse pane resizingFederico Igne2018-09-261-7/+22
| | | | | Basically activates mouse support and unbinds all unnecessary keys. Bear in mind that this disables some XTerm mouse functionalities.
* [Tmux] Remove right-aligned default statusline informationFederico Igne2018-09-261-1/+3
|
* [Vim] Configure Goyo to get a minimal programming environment.Federico Igne2018-09-253-14/+47
| | | | | | Statusline and status related features are hidden, and some highlight groups are changed. Also integrates with Tmux Zoom feature, so that they can be toggled together.
* [Vim] Move personal autoload files under `autoload/dyamon`Federico Igne2018-09-253-25/+30
| | | | | This possibly avoids conflicts with autoload files declared inside scripts.
* [Tmux] Set custom statusline and copy-mode-vi bindingsFederico Igne2018-09-251-43/+78
|
* [Vim] Disable GitGutter at startupFederico Igne2018-09-191-2/+6
|
* [Tmux] Add config fileFederico Igne2018-09-191-0/+217
|
* [Vim] Move Haskell related option in ftpluginFederico Igne2018-09-172-17/+55
| | | | Sets some options to be used with `gf` and the `include-search` feature.
* Merge branch 'develop' of gitlab.com:dyamon-lab/dotfiles into developFederico Igne2018-09-090-0/+0
|\
| * Move bindings and clean vimrc codeFederico Igne2018-09-092-98/+7
| |
* | [Vim] Move bindings and clean vimrc codeFederico Igne2018-09-092-98/+7
|/
* [Vim] Add Pathogen in case of an old Vim versionFederico Igne2018-09-093-21/+44
| | | | | Keep TPope's Pathogen around and fall back to it in case the current Vim version does not come with its own runtimepath manager.
* [Vim] Add `vimprobably` plugin as submoduleFederico Igne2018-09-072-0/+3
|
* [Vim] Add command to clear last search patternFederico Igne2018-09-062-19/+21
| | | | Also search patterns are not included in the `viminfo` file anymore.
* [Tmux] Add simple way to define and start sessionsFederico Igne2018-09-062-3/+63
| | | | | | | | | | | A bash function `t()` has been added. This takes a session as an argument (or tries its best to guess it) and start the corresponding tmux script (if any exists). If a session is already running, simply attach to it. A digest protection system has been implemented to ask the user for approval when running a script for the first time.
* [Vim] Add support for vim sessionsFederico Igne2018-09-053-7/+60
| | | | | | | | | | | | | | | | | | | It should work fine with or without TPope's `vim-obsession` plugin. The advantage of the plugin is automatic session updates whenever the layout changes. Sessions are stored in $VIM_SESSIONS (set to `~/.local/share/vim/sessions`) and are named after the name of the current working directory (which is usually the project name). A bash function `vims()` is also provided: if a session is currently been tracked for the current directory, it is loaded, otherwise a new one is created. A statusline flag has been added to notify the user that a session is currently been tracked. The flag changes if the session is tracked with the `vim-obsession` plugin or simply with Vim `mksession` functionalities.
* [Vim] Add `vim-obsession` plugin as submoduleFederico Igne2018-09-052-0/+3
|
* [Vim] Reduce file pollutionFederico Igne2018-09-051-8/+79
| | | | | | | | | | | | Set some options regarding backup, swap, undo and viminfo files. Now Vim tries its best to store this files out of the way, under a common directory (namely `~/.local/share/vim`). Restored the use of backups and undo files. `viminfo` variable fine-tuned. Also preventing the `root` user from using any of these functionalities to avoid storing sensible information in these files.
* Move custom highlights in a group hooked to `ColorScheme`Federico Igne2018-09-041-14/+24
| | | | | | | | | | | | | This solves a problem that arises whenever you reload a colorscheme. In fact most colorschemes clear all highlight groups before defining their own (regardless of what they actually use). This inevitably overrides any custom highlight made in the vim configuration file (if not sourced again). This adds all highlight group customisations to an autogroup hooked to the `ColorScheme` event (to be executed after any `colorscheme` call). Note that this group needs to be defined before the first `colorscheme` call in the config file for the effects to be immediately visible.