Commit graph

1252 commits

Author SHA1 Message Date
d398b60ca7 Merge branch 'set-up-zettel-vim' into 'master'
Set up Vim for Note-Taking

See merge request marty-oehme/dotfiles!9
2019-06-12 13:04:56 +00:00
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
613a4c8c4d Add LICENSE 2019-06-07 08:33:58 +00: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
d7509f4876 Add Paragraph to README 2019-05-23 11:54:14 +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
5970e2f13d Merge branch 'master' of gitlab.com:marty-oehme/dotfiles 2019-05-23 09:47:19 +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
8f78748141 Update README.md 2019-05-23 06:40:18 +00:00
b63949fd00 Add short paragraph to README 2019-05-22 23:17:36 +02:00
90d6d0257f Merge branch '15-qutebrowser-configuration' into 'master'
Resolve "Qutebrowser configuration"

Closes #15

See merge request marty-oehme/dotfiles!8
2019-05-22 18:02:00 +00: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
c15be97efb Merge branch '22-switch-to-correct-keyboard-layout-on-start' into 'master'
Resolve "Switch to correct keyboard layout on start"

Closes #22

See merge request marty-oehme/dotfiles!7
2019-05-22 14:15:03 +00:00
b38bf229e0 Adjust default keyboard layout based on hostname
Detects the hostname of the x system starting up and sets the keyboard
default layout accordingly to german or eurkey. Uses either the $HOST or
$HOSTNAME variable, of which the first should typically be set. If no
hostname is detected defaults to eurkey layout. Hostname detection is
hardcoded for now, since I don't anticipate many changes.
2019-05-22 16:11:01 +02:00
258df0ec04 Merge branch '24-move-universal-x-keybinds-from-i3-config-to-shxkd-bindings' into 'master'
Resolve "Move (universal) x Keybinds from i3 config to shxkd bindings"

Closes #24

See merge request marty-oehme/dotfiles!6
2019-05-22 13:20:58 +00: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
ccd25e65ea set sxhkd to autostart on xinit
Checks for existence of the program, and then starts it. Does nothing if
sxhkd is not installed (fails silently).
2019-05-22 14:46:48 +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
5a5d6129d5 Delete plug.vim
Can be safely deleted since it is automatically 
added to nvim on first start.
2019-05-16 14:21:01 +00:00
4e0ceb06f0 add mpv and tab toggle keys to qutebrowser 2019-05-16 16:14:09 +02:00
96be62a83b Merge branch 'master' of gitlab.com:marty-oehme/dotfiles 2019-05-16 14:44:53 +02:00
293a79e0b6 Update README.md 2019-05-16 12:44:40 +00: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