When creating a new link within notes, using the wiki.vim openlink
shortcut (return by default), it will prepend a Zettelkasten-like unique
id based on current time in front of the link.
It will also lowercase it and substitute spaces for dashes.
Pandoc citations added through fzf (with the :CiteRef command) were
added in place, with an i. The usual case however is to write a
sentence, or part of a sentence, going out of insertion mode and wanting
the citation to appear *after* what was written.
Same story for insert mode citation (automatically called by typing
`@@`); also simplified its calling function somewhat.
Added simple maps for fzf finding note files from anywhere, searching
through wiki tags.
Vim experimental modules should be short-lived and really used for
experimentation, not be always in git and messing up diffs.
An initial foldlevel of 2 has been added to vim, this is experimental
and if it doesn't suit me can be easily reverted.
wiki.vim overwrites omnifunc for any buffer it sees as its own. Pandoc
uses g:pandoc#competion#Complete as its omnifunc to generate citations.
So we use deoplete to collect the citations and display them on being
invoked by `@`. When typing more, it filters the list accordingly.
Have not gotten preview window working again, nor searching of fields
other than bibkey.
Setting everything during PlugLoad function caused some plugins to
misbehave. Plugins are now loaded by Plug and their settings can be
either set with a file in the plugin directory (this mimicks the old way
of setting plugin up during load) or in after/ directory, which sets
options *after* everything has loaded.
Added tmux session chooser. Aliased to `tm`, calling `tmux_attach_start`
(the original tm script).
When called without arguments displays a fzf list of currently running
tmux sessions, with a preview to their respective open panes. A session
can be chosen in fzf which tmux will attach itself to. When creating a
query in fzf which does not have a valid target and confirming, tmux
will automatically create that session and attach itself to it.
When called with an argument, tmux will attach itself or create a
session of the same name. If called with the name of a session file, as
before, tmux will automatically execute that session file and attach
itself to it.
Added `$XDG_CONFIG_HOME/zsh/completions` to fpath for zsh to source
completions from. Any stow modules creating scripts and functions which
should be auto-completable can add their own completion scripts to this
directory for zsh to automatically pick them up.
Add zsh-users/zsh-completions plugin to provide completions for a wide
array of applications (e.g. glances, nvm).
The only file left in $HOME is .zshenv, which sets up zsh to source everything from XDG_CONFIG_HOME/zsh.
Shell files are split into sh and zsh directories, for global assignments (which should be posix compliant, work on any posix shell) like environemnt variables, xdg vars, and global aliases. zsh contains zsh specific customization (prompt customization, plugin loading, zsh completions).
Zsh initialization will pull from sh directory first, loading the respective mirror to its startup file (`.zprofile` loads `sh/profile` and `profile.d/*`, `.zshenv` loads `sh/env` and `sh/env.d/*` and `zsh/env.d/*`, `.zshrc` loads `sh/alias`, `sh/alias.d/*` and `zsh/alias.d/*`)
Once all is done, it will have loaded both global variables, aliases and settings, and zsh-only specifications. Other stow modules, if they want to add shell functionality, can include their aliases and functions in one of the above directories to automatically be picked up by zsh.
Added global git config file, following XDG specifications (putting it
under `XDG_CONFIG_HOME/git/config`).
Adding a small improvement to default dot session for tmux, so that its
log watcher now shows all refs and remote refs.
Makes polybar use Xresources color values for its colors. Resets rofi
values to their default after being overwritten by the base16 themes.
Makes qutebrowser include the colorscheme in its configuration file.
Ignore dynamically generated colorschemes in .gitignore file.
The theme function provides a quick but temporary switch to a specific
theme.
Themes can be applied with `styler theme [themename]`, they will be
instantly applied to all enabled applications. They will be lost on
restarts of the application or machine however.
Themes can be applied permanently with `styler set [themename]`, they
will be written into the application's settings. This *will* change
things in your local filesystem, so be wary. Generally, processors
should take the least invasive approach and use inclusion to append the
theme to the application's other settings.
But be *careful* with this option, and when in doubt double-check what
the processors you have installed do before losing your settings.
Can take input in the form user/repo and pulls packages from github into
its package directory. Documented use of new function.
Can download both processors and packages. Styler decides between
both with their naming schemes, searching for `/base16-` or `baseproc16-`
respectively. For example:
username/base16-programname - package
username/baseproc16-programname - processor
If it can not determine it based on name alone, it will assume to be
dealing with a processor but spit out a warning for the user.
Styler processors use same layout as packages, such that package and
processor directories are mirrors of each other. So:
`chriskempson/base16-vim` lies in the packages directory,
`marty-oehme/vim-processor` mirrors it.
This opens up the way for custom processors.
Can list available themes, packages, and processors. Invoked by `styler
list` and then the intended target. When invoked without any valid
target will remind the user to supply one.
`list`, `--list`, `-l` are aliases and perform the same function.
Examples:
`styler list themes`
`styler --list packages`
`styler -l processors`
Added up-to-date install instructions and a simple image to the README.
Added an assets directory to house these things and some notes. Removed
`.gitlab-ci.yml` from being linked to the home directory, it does not
belong there.
Renamed bootstrap directory to _bootstrap to conform to default ignore
pattern of autostow.sh, and make it visually clear that this is a
special directory, not one used for the dotfiles itself.
The default ignore pattern would not be searched when the additional
variable was kept empty. This fixes it to always seach for the pattern,
regardless of any other variables.
Prepare for moving bootstrap directory to conform to new ignore pattern
of autostow.sh script. Bootstrap directory can be overwritten through
environment variable BOOTSTRAP_DIRECTORY, however for now it still
rigidly requires the existence of an install_packages.sh file and an
autostow.sh file which it wants to execute.
autostow.sh will automatically ignore any directories it finds that
begin with an underscore. This will make it possible to remove the
default entires of AUTOSTOW_IGNORED_DIRS variable and thus remove some
of the magic and make autostow.sh behavior more predictable.
Invoking a dry-run with `autostow.sh -n` will simply print out the
directories it would operate on, and those it would ignore and exit.
Useful for debugging, not much more.
Grepping through files is mapped to `<leader>F` but it respects ripgrep's
default settings, which is to ignore files in gitignore and files
hidden. This map still ignores gitignored files, but searches through
hidden ones in addition to normal ones. It is mapped to `<leader><C-F>`,
to signify an 'extra' added to normal grepping (and since it will be
presumably more rarely invoked, justifying the slightly awkward key
combination).
Instead of using new gmail layout, use the old html layout when
accessing it from the qutebrowser quickmark. It works and loads
faster, and the new one can still be switched to from the interface.
More in line with default vim spell mappings, and should not interfere
with anything due to its leader prefixing.
Added <leader>z to quickly fix spelling error cursor is over.
Mimicks vifm d for grabbing and cutting, D for true deletion. Works well
to delete a line (e.g. left-over empty) while still keeping last
selection in yank-register. Starts a d-motion, so it can be used with
all motions.