Commit graph

1398 commits

Author SHA1 Message Date
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
710e47758d Add rofi-gopass to quickly enter gopass entries 2019-09-18 16:01:06 +02:00
81ecb4dfb6 [HACK] Add fix for sxhkd rofi menu
HACK TODO: Added a hard-coded line to the rofi powermenu mode in
.config. Should either point to an XDG compliant rofi-modes folder
(.config/rofi-modi or smthg), or, ideally a specific directory in rofi
configuration or scripts and rofi specific dirs. That depends on the
rofi modi being seen primarily as scripts or as configuration of the
operating procedure of rofi.
2019-09-10 23:47:50 +02:00
9fb9bb39ee Fix rofi layout sizings for fullscreen 2019-09-05 22:07:10 +02:00
da5cd9ef1f Add rofi menus to global shortcuts
Accessible through Super+Space for the quickrun menu (essentially
emulates dmenu, just with a nice colorscheme); Super+r for a more
extensive options menu: window switching, clipboard history, ssh
(accessible with Shift-right). First step toward streamlined rofi
config.
2019-09-05 21:41:07 +02:00
8b7de007e9 Add dmenu-like application selector 2019-09-05 21:15:50 +02:00
b28a98c4e4 Add rofi-nerdfont icon picker mode 2019-09-05 19:50:17 +02:00
c6c4161d77 Add rofi-fontawesome icon picker mode 2019-09-05 19:21:55 +02:00
ff6ca7e684 Make rofi-powermenu configurable through env vars
Added Environment variables to show/hide the text and icons, as well as
change the individual commands rofi-powermenu uses to affect the system.
2019-09-05 17:47:15 +02:00