Commit graph

122 commits

Author SHA1 Message Date
6557b8dce0 Add quick fuzzy note search to wiki
Use <leader>wf from anywhere to fuzzysearch a phrase over the notes. If
no initial input is given loads all files into the interactive
fuzzysearch. Use <leader>wF to load a more detailed, full-screen windows
(via CtrlSF) which allows direct editing of results and more.
2019-06-12 14:56:15 +02:00
f06ab7804e Remove subset of vim wiki default mappings
Only keep some of the default vimwiki mappings, since the rest I don't
really need (currently) and they interfere with some other operations I
intend to map (e.g. <leader>wf should fuzzysearch wiki but will toggle a
link when overwritten by the defaults).
2019-06-12 14:22:28 +02:00
6298daeca2 Add configurable wiki root directory
Can be set through environment variable WIKIROOT. By default points to
~/Nextcloud/Notes/ but is kept configurable for each computer. Will be
picked up by vim wiki plugin to enable wiki functionality for the
respective directory.
2019-06-12 14:18:46 +02:00
abccdc7a62 Remove obsolete vim-zettel configuration 2019-06-12 13:34:25 +02:00
f7b304966c Add full-text search to notes
Adds full-text search with CtrlSF vim plugin. Activated via
<leader>wf, to spell wiki-find (mirrors <leader>ww for wiki-index).

Optimizations can certainly be done.
2019-06-11 14:55:55 +02:00
eb955beba1 Change wiki root to Nextcloud notes 2019-06-11 13:28:59 +02:00
d3cc983eff add common vim bindings
* set up beggining/end of line with H/L
* set surround current word/visually selected word with <leader>"
* set text expansion for @@ marty.oehme@gmail.com - email
* set text expansion for ccopy - copyright notice
* set common typos autocorrection
2019-06-11 13:28:59 +02:00
54e31a85ac add uppercasing in vim 2019-06-11 13:27:00 +02:00
95d79cd39a add basic wiki and zettel structure 2019-06-11 13:27:00 +02:00
34f7cd7da9 Add zhfind command
Can be used to fuzzy search through shell history.
2019-06-07 11:39:38 +02:00
510443abdf Add fzy alias to be called as fzf 2019-06-07 10:57:06 +02:00
ffee75f514 Merge branch 'master' of gitlab.com:marty-oehme/dotfiles 2019-06-07 10:30:02 +02:00
6b7705409c Add fasd shell hook 2019-06-05 16:44:15 +02:00
79768266a1 Add open in webarchive to qutebrowser,unify keys 2019-06-04 13:28:44 +02:00
eb57109565 Add abbreviations and quote surround to vimrc 2019-06-04 13:28:15 +02:00
9153315a09 Clean section breaks in vimrc 2019-06-04 13:27:01 +02:00
729bcf9660 Automatically start X when on display 1
Should start x after all the XDG folders have been set so that aliases
etc should still work. If binds/aliases do not work (things like tm, tl,
cl and so on) then this is presumably caused by a race condition and x
should only be started *after* all directories have benn set.
2019-06-04 11:30:45 +02:00
8a31e9024a Add wallabag article quickadd to qutebrowser
Adds :wallabag-add command to qutebrowser to add current page to it as
an article. Can optionally use <leader>ra (read-add) for the same functionality.
2019-05-28 11:10:03 +02:00
df45a08c6c Move scripts to .local/bin
Moved all personal scripts to ~/.local/bin to be systemd file hierarchy
compliant, as well as XDG compliant. Since they are not configuration
options they don't have anything to do in .config directories.
Also, it's just easier to find than the previous .config/scripts/bin.
2019-05-23 11:20:11 +02:00
992dedfd5b Remove tmux legacy styling
Switch option-fg, -bg and so on for the new style options which have now
superseded the legacy styling. Tmux manual
[here](https://man.openbsd.org/tmux.1#STYLES).
2019-05-23 09:45:48 +02:00
170415bc40 Improve qutebrowser configuration file
Added
* keybindings to hide/display tabbar
* leader-key binding mimicking vim
* darkmode/lightmode unified stylesheets in solarized theme
* lazy tab restoration on loading sessions
* tab closing/restoring with x/X
2019-05-22 19:58:30 +02:00
e28a068bb9 Fix duplicate i3 keybind close window
Kill window in i3 shadows shutdown pc in x. This changes the close
window key to be super+shift+c.
2019-05-22 14:49:10 +02:00
1f491f8f23 Fix background picture folder name in i3 config
i3 was looking for the picture in Pictures, but it is spelled with a
small p - pictures in my xdg dirs.
2019-05-22 14:43:31 +02:00
844256901d Remove duplicate keybindings from i3 config
Removed the keybindings now handled by sxhkd. Some are changed around
slightly, most of them are still the same.
2019-05-22 14:42:39 +02:00
bdbde11ef1 Add sxhkd key bindings file
Added the key bindings from i3 to sxhkd, making use of the new
dmenuprompt program.
2019-05-22 14:41:33 +02:00
472b2e8f92 Add simple prompt program based on dmenu
Can be used to as for confirmation for actions (E.g. shut down pc,
reboot and so on). Takes 3 parameters, with the last being optional, in
the form of:

dmenuprompt "Text to display" "command to execute on yes"
[success/warn/danger]

The last flag only changes the colors being displayed by the prompt.
If the last flag is not provided, it will display in default colors.
2019-05-22 14:24:29 +02:00
0e829a629c Fix i3 config indentation 2019-05-22 13:30:01 +02:00
85100995df unify vim prose functionality under one function 2019-05-20 17:13:38 +02:00
9000b8b873 add U for redo in vim, set localeader to leader 2019-05-20 17:02:32 +02:00
db0d76c976 change default shell font size
set font size to better fit for laptop screen, makes tmux bar flush in full screen
2019-05-20 14:49:36 +02:00
d0dc8ed763 add buffer splitting to vim
Uses same bind as tmux, only with leader instead of C-a in front of it.
2019-05-20 13:07:34 +02:00
4e0ceb06f0 add mpv and tab toggle keys to qutebrowser 2019-05-16 16:14:09 +02:00
49b8171eb4 set default qutebrowser editor to nvim 2019-05-16 14:25:19 +02:00
5d146684a9 Merge branch 'master' of gitlab.com:marty-oehme/dotfiles 2019-05-15 10:33:31 +02:00
244b1e98bd fix plugin check on vim startup 2019-05-15 10:28:12 +02:00
8504d8f769 add check for autojump plugin before loading into shell 2019-05-15 10:27:03 +02:00
574afea895 Set up function keys for i3 2019-04-29 15:52:49 +02:00
10f85e19b0 add i3status config file 2019-04-26 14:16:26 +02:00
fb5affc593 change shell exit alias to :q to mirror vim 2019-04-23 14:48:42 +02:00
ae3af530f9 update plug, add F for vim buffersearch 2019-04-12 14:43:37 +02:00
34303758e6 specify home directory structure 2019-03-22 11:49:12 +01:00
0e21be8abc add lazy loading to many plugins 2019-03-21 00:06:40 +01:00
f479ae759c set terminal to nord color scheme 2019-03-20 22:46:48 +01:00
bb0c041d5e automatically toggle line numbers for buffers 2019-03-20 22:46:24 +01:00
2136b3eb97 add small fixes for prose mode & good prose theme 2019-03-20 22:25:21 +01:00
bb092b628b add sentence textobject plugin 2019-03-20 19:41:22 +01:00
2f7c21ebf8 add exchange,surround operators 2019-03-20 18:46:02 +01:00
98f4ce3225 add markdown workflow plugins 2019-03-20 18:37:04 +01:00
0efb98fa30 add nerdtree git status info 2019-03-20 16:35:11 +01:00
961e6d1c6c set up nerdtree plugin 2019-03-20 16:13:18 +01:00