Commit graph

1556 commits

Author SHA1 Message Date
ae1a477301 Add prose module to vim 2019-11-23 17:52:29 +01:00
0963825c61 Move filetype mappings to localleader
Anything prose oriented, markdown oriented, academic publishing oriented
now lives under the localleader (, atm).

Fixes #62
2019-11-21 18:09:11 +01:00
1b12ca0d13 Add experimental coc.nvim module 2019-11-21 18:04:25 +01:00
f778d2c536 Merge branch '63-split-plugin-loading-into-modular-files' into 'master'
Resolve "Split plugin loading into modular files"

Closes #63

See merge request marty-oehme/dotfiles!25
2019-11-21 16:23:12 +00:00
763130d6b2 Split out plugin loading into individual modules 2019-11-21 17:21:53 +01:00
faf4739711 Fix NerdTree lazy loading
Did not load NerdTree on NerdTreeFind command, which also causes it to
open via a mapping. This caused the mapping to only work after having
opened NerdTree at least once through another method.
2019-11-21 14:58:50 +01:00
bef8ed7173 Merge branch '60-move-keymappings-into-separate-file' into 'master'
Resolve "Move keymappings into separate file"

Closes #60

See merge request marty-oehme/dotfiles!24
2019-11-21 13:57:07 +00:00
2e59341d6d Move existing mappings into new file
Simply take all the mappings and move them to one big new file for now. At some point we can start thinking about splitting them up further, and if that could make sense. The groundwork is laid by vimrc looking for a maps.vim file in every subdirectory of its runtime path.
2019-11-21 13:57:07 +00:00
8798642c61 Add word under cursor highlighting to vim 2019-11-21 12:19:03 +01:00
6b7e5d119f Add timeout for mapping control to escape
After holding capslock for 500ms, it will not generate an escape press
to avoid some unintentional presses of escape.
2019-11-21 12:14:31 +01:00
131e8e212a Remove warning when skim is not installed
Switched to fzf a while back, skim is not needed on installations
anymore.
2019-11-21 12:13:31 +01:00
0c7a9ca7f5 Change gopass store location 2019-11-20 18:52:34 +01:00
e0eca5f3e6 Change gopass password store location to .local
Changed to move it off Nextcloud. The synchronization should happen, if
anything, through git as a backend as intended. Since the files'
modification dates do not reflect the correct change dates, synching
over Nextcloud only ever generates conflicts.

Using the internal synch engine is preferred instead.
2019-11-19 09:55:09 +01:00
d97a76dade Add vim-sneak to nvim, to enable fast traversal 2019-11-18 22:55:15 +01:00
36fc3e7245 Add pywal automatic setting on restart 2019-11-18 22:54:41 +01:00
3d1438f657 Add picom inactive window opacity automatic toggle
Whenever i3 is using gapless mode, all windows will be opaque. When gaps
are shown inactive windows will have some transparency and blur behind
them.

Script can be invoked manually with `picom_toggle_inactive_opacity` to
toggle, `picom_toggle_inactive_opacity on` or
`picom_toggle_inactive_opacity off` to set it respectively.
2019-11-18 22:52:25 +01:00
717b9d9096 Adapt compton config to new naming scheme picom 2019-11-18 18:19:48 +01:00
a1c8b56003 Exchange supercrabtree/k for exa
exa is more versatile and way faster than k. I rarely used the git
integration of k (which is, admittedly, better), as well as the colored
variables. So exa should work well enough for my purposes, especially
since I make more use of vifm when cd-ing through a lot of directories.
2019-11-18 17:26:24 +01:00
c56e96cc11 Fix some pandoc variables for bibliography 2019-11-18 17:20:43 +01:00
b33a58b593 Fix true color support for nvim in tmux
Uses the correct TERM env var and sets the correct rgb setting for
surrounding terminal.
2019-11-18 17:16:32 +01:00
cd762cde4a Fix rofi-gopass to use correct user field
gopass, by default creates a field called `username` to contain the
corresponding login name. rofi-gopass was looking for a field called
`user`, and ignored username which lead to it only inputting the
password for any site where gopass created the login credentials.

This is now fixed, all that remains is to revert the manually changed
fields back to `username`.
2019-11-18 12:18:56 +01:00
15e63044db Add colorscheme switching and airline/tmux autoset
Use <leader><F8> to set a new colorscheme in vim. The airline
automatically sets itself to the corresponding colorscheme, as does the
tmux statusbar at the bottom.

Use <F8> to toggle between dark and light mode for the colorscheme (not
all colorschemes support this unfortunately, I might restrict the
installed colorschemes to those that do). Again, Airline and tmuxline
will automatically adjust themselves.

Tmux prefix highlight plugin has been removed, since its functionality
can be replicated easily with the ?client_prefix function in tmux -
which also works regardless of any styles applied to the statusbar
through tmuxline. Currently, whenever the prefix is active the
clock-area will turn bright blue.
2019-11-18 11:00:10 +01:00
b3db50f03b Add redshift to startup if it exists 2019-11-17 23:29:09 +01:00
4cd3feda3a Switch to official notational velocity vim plugin
It works with fzf, and will use smartcase for its search. Since the
setup is not using skim anymore, the official plugin will do.
2019-11-17 23:03:17 +01:00
634de692dd Add rust cargo to path 2019-11-17 23:02:17 +01:00
40b0a2a775 Remove grammarious from vim
I've never actually used it for prose writing, and it depends on Java
installation as a dependency which is not installed on my machines.
2019-11-13 17:48:04 +01:00
dc29299157 Add font highlighting and dpi scaling
Check this works for both desktop and laptop display.
2019-11-13 17:46:15 +01:00
3c6ef91ae0 Fix shortcuts and settings for bibtex-fzf 2019-11-12 08:38:21 +01:00
75195765ca Set fzf commands to actually use FZF 2019-11-04 21:59:43 +01:00
570c575776 Add FZF bibliography insertion 2019-11-04 21:45:59 +01:00
e8e8290426 Edit pandoc academia settings 2019-11-04 19:26:36 +01:00
8ffa12744c Add several experimental academia profiles 2019-11-04 19:13:43 +01:00
02c323bea5 Fix profiles folder 2019-11-03 12:27:36 +01:00
84a2a945df Add vim profiles folder 2019-11-03 11:37:33 +01:00
44bed9b6a4 Add calculator to meta+r quicklaunch menu 2019-10-24 17:07:15 +02:00
9914f5ae91 Fix pandoc conceal levels and add to Prose group 2019-10-24 17:06:30 +02:00
675e4fd9d5 Refactor markdown plugins, enable conceal, add day colorscheme to term 2019-10-18 11:02:11 +02:00
320d62e880 Merge branch '56-set-up-vim-for-rmarkdown-and-academic-writing' of gitlab.com:marty-oehme/dotfiles into 56-set-up-vim-for-rmarkdown-and-academic-writing 2019-10-18 11:01:14 +02:00
552a56cc33 [nvim] Improve compilation filetype target
Allows compilation using pandoc to happen for markdown, as well as
rmarkdown files.
2019-10-18 10:59:57 +02:00
14f6bee7a1 [nvim] Add useful writing colorscheme
Pencil is from reedes, cribbed from iWriter. It is a good, subdued
colorscheme for writing prose. All colorschemes in this vimrc now come
with italicized letters (for comments, and words that should be italic).
All themes also respect the background= dark/light distinction and
enable the respective mode.
2019-10-18 10:59:57 +02:00
de0b83fb3f [nvim] Add rmarkdown, pandoc plugins and bindings
PDFs can be compiled using rmarkdown by invoking <leader>c, or C to open
the file (which pauses vim however). The best workflow is to open the
pdf manually in something like zathura, which will auto-update when the
document is newly compiled.
2019-10-18 10:59:57 +02:00
350158c520 [nvim] Add function to show all keymappings
Use :ShowMaps to display all currently mapped things for vim. Will not
include things like `i`, but actual mappings.
2019-10-18 10:59:02 +02:00
48be54b79c Refactor notes/wiki search functions 2019-10-17 18:55:32 +02:00
73b5004c3f Fix tab titles separator at the end 2019-09-29 21:40:38 +02:00
ed25b3d966 Add gopass configuration file 2019-09-20 14:53:47 +02:00
f8ed65f1de rofi-gopass fix spelling error 2019-09-20 10:41:08 +02:00
06489ac101 Add yank filename/-path to vim as yf 2019-09-19 15:43:40 +02:00
a0a14c4afd Set default papis notes to RMarkdown file ending 2019-09-19 15:39:45 +02:00
640ee9dbf9 Add surfraw rofi extension to search the web with bangs 2019-09-18 17:55:44 +02:00
76efabe67b Add gopass settings for vim 2019-09-18 16:01:43 +02:00