Commit graph

582 commits

Author SHA1 Message Date
50fdc150b8 install: check if local config is readable (not just exists) 2022-02-07 19:31:23 +01:00
61f0b64b84 install: make ~/.config a symlink into dotfiles 2022-02-07 19:26:29 +01:00
326ba2d607 vim: make lua specific mappings local to buffer 2022-02-07 16:57:58 +01:00
d171177b4c vim: add mapping to edits config files 2022-02-07 16:55:22 +01:00
49eb1af27a vim: add macros to execute lua chunk/file 2022-02-07 16:33:39 +01:00
63c5efbe9d vim: minor refactor 2022-02-07 16:33:39 +01:00
d8ba015ccd vim: improve color declarations in lualine config 2022-02-07 16:33:39 +01:00
0945175fe5 vim: make lualine config clearer with some comments 2022-02-07 16:33:39 +01:00
ea887c4af4 vim: remove percentage from status line 2022-02-07 16:33:39 +01:00
b835defa1b zsh: add v alias` for neovim 2022-02-07 16:33:39 +01:00
211498d107 git: only allow ff merges on pull 2022-02-07 16:23:30 +01:00
0d50f10fc6 path: add GNU gnu-sed to PATH on the Mac 2022-02-03 23:35:12 +01:00
e994d8f0e3 zsh: fix PATH manipulation on MacOS
My previous fix for /usr/libexec/path_helper messing with the PATH was
no longer working because zsh sources /etc/zprofile (which on MacOS
executes path_helper) AFTER $HOME/.zshenv, thus overwriting my changes.
2022-02-03 23:28:13 +01:00
38f286411d install: use stow to manage most files 2022-02-03 01:14:54 +01:00
ed4d46e948 env: add GNU findutils to PATH on the Mac 2022-02-02 21:27:32 +01:00
9263665843 install: improve log output 2022-02-02 17:56:33 +01:00
73bde45645 install: ensure the script can be run from anywhere 2022-02-02 17:53:24 +01:00
c57054ff97 install: minor dry run refactor 2022-02-02 17:18:46 +01:00
ac821cf68e install: simplify git user configuration 2022-02-02 17:14:01 +01:00
cc8f5323b9 install: add option to set target directory 2022-02-02 16:58:54 +01:00
8d727321c2 vim: key maps to move to begin/end of line in insert mode 2022-02-02 01:40:22 +01:00
bdbc1c35d5 vim: more readable key mappings 2022-02-02 01:37:05 +01:00
08a5953fc6 vim: move plugin configurations to after/plugin/*.lua 2022-02-02 00:45:27 +01:00
445e6c4a9d vim: replace autocmds that just set 'filetype' with ftdetect 2022-02-01 22:23:29 +01:00
7b9b0c297b vim: remove obsolete autocmds 2022-02-01 21:33:44 +01:00
c0dfdd1d6d vim: replace FileType autocmds with ftplugins 2022-02-01 21:30:40 +01:00
0aaa310c4d vim: show uncolored icon in inactive buffers 2022-02-01 21:12:43 +01:00
bb5fe60f53 vim: better visual queue for paste mode 2022-02-01 20:57:55 +01:00
bef5e01951 vim: convert lua files to tabstop = 2 2022-02-01 20:53:19 +01:00
f8181683e9 vim: add lua ftplugin (tabstop = 2) 2022-02-01 20:44:43 +01:00
45eadf6291 vim: better status line (lualine) 2022-02-01 20:38:51 +01:00
6e2995c930 vim: toggle paste with F20
I have F20 mapped to the P key in the function layer on my Moonlander
keyboard.
2022-02-01 18:48:55 +01:00
400c9041fd zsh: factor out completion config to a separate file 2022-02-01 18:36:13 +01:00
b56c174f0f zsh: fix ev alias to edit nvim's init.lua 2022-02-01 18:18:06 +01:00
7c3f01a88e git: override user.email in dotfiles repository 2022-02-01 18:04:16 +01:00
8a8efe5f62 git: minor refactor
Just move colors down, but keep the includes last so the local
configurations can override the ones in `~/.config/git/config`.
2022-02-01 17:55:53 +01:00
6d4632d02a vim: replace lightline with lualine 2022-01-31 00:39:43 +01:00
34a4debbce vim: add vim-fugitive 2022-01-26 00:08:29 +01:00
8c530d5d2d vim: add keymap to edit $MYVIMRC 2022-01-25 23:59:13 +01:00
0828088421 vim: avoid toggling the search highlight option
I usually want to clear the highlights after doing whatever the reason
for the search was, but having to re-enable it all the time was
annoying. So, using `:nohlsearch` fixes that, as this command does
exactly what I actually wanted all along.
2022-01-25 23:12:55 +01:00
716709a783 bin: colortest now uses multiple modes to set colors 2022-01-25 00:52:17 +01:00
f779e5c4b6 vim: enable true color inside tmux 2022-01-25 00:51:01 +01:00
ae056c50b3 vim: organize plugins by theme 2022-01-25 00:44:34 +01:00
4cbfb53fe1 vim: use local ref to vim.g for efficiency 2022-01-25 00:44:24 +01:00
1acd99e2fa vim: nicer setting of options 2022-01-24 22:01:02 +01:00
35fbbc1d07 tmux: make status styling more readable 2022-01-24 11:29:27 +01:00
b8a21201cc tmux: center window titles 2022-01-24 11:15:55 +01:00
4d52a8204b vim: make gf work in init.lua 2022-01-23 20:12:58 +01:00
50f2d9d8c8 jupyter: fix configuration directory 2021-11-22 09:20:49 +01:00
2630868158 install: don't export script variables
These variables are only used be the script itself and don't need to be
exposed via the environment to any subcommands or subshells.
2021-11-22 09:13:02 +01:00