Commit graph

432 commits

Author SHA1 Message Date
Marty Oehme ea7e3635fe Automate initial tmux plugin installation 2019-07-08 22:06:56 +02:00
Marty Oehme 6f2f130212 Add golangci linter to vim through ale 2019-07-08 22:06:25 +02:00
Marty Oehme 95c3305cbb Allow entering vifm in pwd with vmm alias
vifm enters last open dirs by default. vmm alias opens vifm with the pwd
as the opened dir instead. Passing along arbitrary paths to vm also
opens vifm there.
2019-07-08 22:04:52 +02:00
Marty Oehme a736a107df Add keymappings to vifm: sync panes, hide dotfiles
Set the current pane to the other pane with <c-y>. Hide dotfiles with zc
(zm still works) to mimic the vim behavior.
2019-07-04 10:33:16 +02:00
Marty Oehme 942d7798e4 Merge branch '38-make-vifm-display-image-video-pdf-previews' into 'master'
Resolve "Make vifm display image/video/pdf previews"

Closes #38

See merge request marty-oehme/dotfiles!12
2019-07-04 08:31:20 +00:00
Marty Oehme ef7c6ba8c8 Enable vifm image previews 2019-07-04 10:30:24 +02:00
Marty Oehme 62610c82c5 Add vim folds to vifmrc file 2019-07-04 08:19:16 +02:00
Marty Oehme f932aa4b97 Merge branch '37-replace-ranger-with-vifm' into 'master'
Resolve "Replace ranger with vifm"

Closes #37

See merge request marty-oehme/dotfiles!11
2019-07-03 20:29:35 +00:00
Marty Oehme 9df014fa62 Replace rifle with xdg-open for fuzzy file opening
rifle is going away soon with ranger being replaced by vifm in these
dotfiles. To be prepared, and make them more universal, the fuzzy file
finder uses xdg-open to open any files.
2019-07-03 22:27:57 +02:00
Marty Oehme bf28f2067d Add first draft of vifm configuration 2019-07-03 22:24:01 +02:00
Marty Oehme 730ba80502 Update README to announce its out-of-date-dness 2019-07-03 21:07:17 +02:00
Marty Oehme f16bdd0c7b Add default vifmrc 2019-07-03 16:23:25 +02:00
Marty Oehme 9a1617b78a Add go configuration to vim
added vim-go plugin and assorted mappings for tests, navigation, running
and documenting go files
2019-07-03 11:49:24 +02:00
Marty Oehme 0187636e22 Change gopath to default to the new project folder
Moved from Code folder which is deprecated.
2019-07-03 11:48:27 +02:00
Marty Oehme b66747f9fd Update alacritty config for new alacritty release
Alacritty deprecated some startup options, this should bring them back
into the correct use and get rid of the error message on startup.
2019-06-28 12:25:46 +02:00
Marty Oehme 262889ec88 Merge branch '33-implement-a-fuzzyfind-grep-variant-on-the-shell-and-in-vim' into 'master'
Resolve "Implement a fuzzyfind & grep variant on the shell and in vim"

Closes #33

See merge request marty-oehme/dotfiles!10
2019-06-26 19:25:14 +00:00
Marty Oehme de582afa1d Reword instructions for fuzzy finding programs
Uses the full name of fuzzy finders instead of just their abbreviations
when warning about any of them missing, to make it clearer which
programs the warning is talking about.
2019-06-26 21:21:52 +02:00
Marty Oehme b1cb9ceef9 Remove unused fuzzy finding function 2019-06-26 21:20:40 +02:00
Marty Oehme 368032a73c Switch vim keys for Buffer/File opening
Switch fuzzy opening of buffers to <leader>f, and set opening files in
work directory to <leader>F. Switching these two is intended to allow
easier access to buffer switching, which I use much more often than file
access, especially when working over a longer time-frame in vim.
2019-06-26 21:03:33 +02:00
Marty Oehme a442de0292 Begin adding custom sk command 2019-06-17 23:13:55 +02:00
Marty Oehme 215f93d65a Fix fuzzy directory search
Fixed search to be passed along to cd, not the rifle command.
2019-06-17 22:33:13 +02:00
Marty Oehme 900b949a7a Move fuzzy history search, Add missing fuzzy warns
Moved zhfind command to fuzzy finding since it relies on sk to be
present. Added some preliminary warnings if sk is not on the system.
2019-06-17 18:30:19 +02:00
Marty Oehme 359de7e1bd Rename fuzzy finding shell script
In preparation for extending the scripting, renamed the script from just
being a re-aliasing of fzf. Now, all fuzzy finding logic can reside in
this file.
2019-06-17 18:01:23 +02:00
Marty Oehme 348621d824 Add automatic choice of greplikes/fzflikes 2019-06-17 09:18:50 +02:00
Marty Oehme 949e071b97 Fix .. command to go up to parent directory
Fixed the quick-style .. to go up a directory. Use `cd ..` to enable the
fzf enabled selection if you quickly need to go up multiple directories
instead.
2019-06-17 09:17:17 +02:00
Marty Oehme 07c3d6e05b Revert removal of wiki delete page mapping 2019-06-13 21:38:50 +02:00
Marty Oehme cd0894b01f Set terminal font size to more reasonable size 2019-06-13 21:38:00 +02:00
Marty Oehme 5257d3e191 Fix keybinds for wiki.vim keeping defaults
HACK HACK HACK
The default keybinds for wiki.vim are now kept, only removing the ones
that I don't need. For now, since wiki.vim does not seem to allow empty
strings being passed as its keybinds (in order to remove them by
overwriting with empty), it just assigns bogus binds with
<leader>== and an arbitrary number of === following.
2019-06-13 11:12:55 +02:00
Marty Oehme 0925515457 Add tmux session management plugin
Added tmux-resurrect plugin. This allows easy persisting of sessions
through a server shutdown. To save a session, use
<leader><c-s>, to restore it <leader><c-r>.
2019-06-13 07:22:28 +02:00
Marty Oehme 078259182c Add vim rg fulltext fuzzy search for current dir
Allows searching current working directory's files with rg (or
ag,pt,find) when invoked with <c-F> in vim.
2019-06-12 15:11:59 +02:00
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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
Marty Oehme abccdc7a62 Remove obsolete vim-zettel configuration 2019-06-12 13:34:25 +02:00
Marty Oehme 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
Marty Oehme eb955beba1 Change wiki root to Nextcloud notes 2019-06-11 13:28:59 +02:00
Marty Oehme 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
Marty Oehme 54e31a85ac add uppercasing in vim 2019-06-11 13:27:00 +02:00
Marty Oehme 95d79cd39a add basic wiki and zettel structure 2019-06-11 13:27:00 +02:00
Marty Oehme 34f7cd7da9 Add zhfind command
Can be used to fuzzy search through shell history.
2019-06-07 11:39:38 +02:00
Marty Oehme 510443abdf Add fzy alias to be called as fzf 2019-06-07 10:57:06 +02:00
Marty Oehme 613a4c8c4d Add LICENSE 2019-06-07 08:33:58 +00:00
Marty Oehme ffee75f514 Merge branch 'master' of gitlab.com:marty-oehme/dotfiles 2019-06-07 10:30:02 +02:00
Marty Oehme 6b7705409c Add fasd shell hook 2019-06-05 16:44:15 +02:00
Marty Oehme 79768266a1 Add open in webarchive to qutebrowser,unify keys 2019-06-04 13:28:44 +02:00
Marty Oehme eb57109565 Add abbreviations and quote surround to vimrc 2019-06-04 13:28:15 +02:00
Marty Oehme 9153315a09 Clean section breaks in vimrc 2019-06-04 13:27:01 +02:00
Marty Oehme 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
Marty Oehme 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