Commit graph

281 commits

Author SHA1 Message Date
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
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
348621d824 Add automatic choice of greplikes/fzflikes 2019-06-17 09:18:50 +02:00
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
07c3d6e05b Revert removal of wiki delete page mapping 2019-06-13 21:38:50 +02:00
cd0894b01f Set terminal font size to more reasonable size 2019-06-13 21:38:00 +02:00
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
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
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
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
c194d134e3 add gruvbox syntax theme 2019-03-20 16:12:46 +01:00
8d2ca59a11 add plugin comments 2019-03-20 16:12:13 +01:00
54b0f0d4ee automatically install plugins, add qol changes 2019-03-20 16:09:48 +01:00
4198c155a1 stop sourcing vimrc on every save 2019-03-20 14:30:36 +01:00
e75653b4ef only load vimplug if it exists, ignore otherwise 2019-03-20 14:28:50 +01:00
003b053fe7 add sectioning to vimrc 2019-03-20 14:27:54 +01:00
992d19da56 add automatic vim plugin manager installation 2019-03-20 14:06:46 +01:00
ae8ac10b0b add q and wq alias for shell 2019-03-17 22:31:24 +01:00
4066dfd7b9 let xdg take care of directories 2019-03-17 19:46:20 +01:00
1d756d13db add html+typescript plugins to vim 2019-03-17 19:45:29 +01:00
31e8c4eae3 move tmux to new (temporary) todolist and system-top panel 2019-03-17 19:45:07 +01:00
c4eb15e5b7 integrate vim and tmux pane movement 2019-03-15 16:26:57 +01:00
51144bc904 remove alacritty window padding 2019-03-15 15:18:34 +01:00
94e3b7a2c1 fix i3 gap size 2019-03-15 15:18:05 +01:00
7915ce2a9c remove compton opacity override to enable flashfocus 2019-03-15 15:14:43 +01:00
f3ad7e4f9e fix k script order 2019-03-15 14:56:18 +01:00
afd94a8592 organize zsh scripts 2019-03-15 14:54:09 +01:00
a446cd7a7a organize all shell scripts into logical dirs 2019-03-15 14:40:03 +01:00
be53599ec9 set alacritty to use monospace font 2019-03-15 14:00:21 +01:00
26b58e78c9 add fontconfig substituting monospace for iosevka where available 2019-03-15 13:59:08 +01:00
46f0429582 remove window dimming in compton 2019-03-15 13:44:23 +01:00
866c04cfaa add xdg user-dirs for xdg-user-dirs package 2019-03-15 11:30:36 +01:00
ba6a320dff exchanged fira code for iosevka 2019-03-14 18:11:08 +01:00
2bd871a717 add nerdtree to vim and give it keybinding 2019-03-13 18:01:53 +01:00
2a2991796d change to new tmux statusbar theme 2019-03-13 17:19:27 +01:00
1d594670de remove unneccessary vim colorschemes and set tmux statusline 2019-03-13 17:18:47 +01:00
8a373f6838 add vim colorschemes and airline 2019-03-13 15:08:39 +01:00
9073f90eda add desktop simple compositing configuration (no blur, no transp) 2019-03-13 13:03:37 +01:00
9ee089caab add i3 gaps management 2019-03-13 11:57:46 +01:00
22e8c4b0c6 add feh for wallpaper 2019-03-12 18:16:22 +01:00
83a74058c8 rename testing package group 2019-03-12 17:54:27 +01:00
926b73e1b8 Switch static workspaces with icons 2019-03-12 17:32:31 +01:00
02277a3ae2 allow toggling i3 gaps with mod+g/G 2019-03-12 16:50:04 +01:00
23fe092d7f move scripts to script directory 2019-03-12 16:05:36 +01:00
d11f04dbf6 rename zsh script files to end with .zsh 2019-03-12 15:57:24 +01:00
4eb00e6915 fix XDG_CONFIG_HOME naming 2019-03-12 15:48:00 +01:00
283f86a6ba rename fs to base packages, add topgrade 2019-03-12 15:22:46 +01:00
655967427f add xcape as default package for x group
used to map capslock both to control (when pressed together with
other keys) and escape (when pressed on its own).
2019-03-12 14:55:47 +01:00
ed71470287 shorten dotfiles command to interact with repo to dot 2019-03-12 14:55:08 +01:00
5935b8884a Fix home files owned by root after provision 2019-03-12 14:42:48 +01:00
0ce01cdd5d Switch from urxvt to alacritty 2019-03-12 13:49:36 +01:00
afa79821cd Resolve "Change shell to specified shell on installation" 2019-03-11 21:17:15 +00:00
cf00dabeb0 Allow Choice of package group presets when provisioning
Choice is presented at beginning of provisioning and can choose from 3 different package groups (desktop, laptop, headless) with emphasis on different deployment functionality. Additional packages to run installation against can also be passed in as command option with -f "/path/to/packages.csv /path/to/more.csv" which will get installed alongside the selected package group. When choosing -F the packages will get installed as the only packages instead.
2019-03-11 20:24:06 +00:00
712b6b389a Add simple nvim personalizations 2019-03-09 21:33:42 +01:00
6ee6fb96f6 Add cl alias to clear terminal 2019-03-09 21:33:42 +01:00
21b56671da Add bootstrap scripts to repository to be versioned 2019-03-06 13:06:44 +01:00
9cbce930ce Remove dotfiles setup for each shell startup 2019-03-05 17:45:44 +01:00
96c78612a4 Integrate sensible vim plugin 2019-03-04 11:47:17 +01:00
61f26f4708 Set up switchtes between floating/tiling to be v based. 2019-03-04 10:51:06 +01:00
126328dc5c Create base-level comfortable tmux config 2019-02-27 14:42:45 +01:00
39ca1b4d5c Move Capslock Remapping to xinitrc
Prevents a new instance of xcape being started with every single
shell session (i.e. a lot of sessions with tmux, urxvt, etc.).
Instead initializes xcape key replacement once when starting x
2019-02-27 10:02:06 +01:00
1097515a34 Make i3 window closing mod+x, same as tmux prefix+x 2019-02-26 18:13:40 +01:00
cb898f2dec Make capslock behave as control/escape key
Behaves as control when used in conjunction with other keys.
Behaves as escape when used alone. When accidentally pressed
keep long pressing (>500ms) and it will pretend to not have
been pressed.
2019-02-26 12:39:00 +01:00
3d5389c8d4 Add term cursor overrides to tmux
Allows cursor to be changed by nvim whenever
it mode-changes. Works in urxvt, untested
in other terminals.
2019-02-26 10:45:36 +01:00
25d4f1df54 Automatically call nvim with vim command if installed 2019-02-26 10:31:40 +01:00
f4b0d38148 Add tm command to dynamically attach to tmux sessions
If a session is running, run a detached session. (Detach
all other clients.) If no session with the name is
running, create a new session and attach. Session name
can be passed in, or defaults to current directory name.
2019-02-26 10:10:03 +01:00
72a6eafb72 Hard-code theming into tmux.conf. Enable Prefix/Command Highlighting in status bar. 2019-02-25 10:33:48 +01:00
ecde934d1d Disable urxvt tabbing, to replace with tmux 2019-02-25 10:32:20 +01:00
2da738f1a8 Make tmux & tpm XDG compliant. 2019-02-25 00:38:18 +01:00
b3b6d91f33 Add unique mpv script for playlist queuing with qutebrowser. 2019-02-24 16:27:12 +01:00
fa1db16f74 Revert ssh script to zsh dir. Scripts dir should be reserved for callable scripts as a bin directory living on the path. 2019-02-24 16:21:30 +01:00
efffd56d63 Move larger scripts into separate dir 2019-02-24 13:28:35 +01:00
9f18216fb9 Move Xresources files to better comply with XDG 2019-02-24 13:03:17 +01:00
71c5944bf8 Simplify zsh config file structure 2019-02-24 12:34:40 +01:00
54b756a0f6 Remove echo from plugin loader 2019-02-24 12:02:50 +01:00
5e50aafcd0 Begin moving to new XDG compliant directory structure 2019-02-24 11:06:50 +01:00
50c1b6cacb Change i3 System keys, Fix up config organization 2019-02-24 09:12:47 +01:00
c628081f35 Set i3 font to Fira Code, Give statusbar softer colors 2019-02-24 09:11:38 +01:00
315cd00301 Change i3 shortcuts for window closing, screen locking 2019-02-21 18:24:06 +01:00
64f8d11dcc Fix i3 Split command syntax error 2019-02-19 18:52:02 +01:00
71a7ca83c6 Start Refactoring to composable zsh config modules 2019-02-18 17:55:05 +01:00
a4c9ba0b62 Update /.config/libinput-gestures.conf 2019-01-12 13:19:21 +00:00