Commit graph

292 commits

Author SHA1 Message Date
27f165d8c3 nvim: Add pandoc support
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-07 09:02:43 +05:30
af5e1aa0ab tmux: Allow selecting window 0
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-06 19:51:13 +05:30
a3777e9d45 nvim: Miscellaneous cleanups & improvements
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-06 19:39:10 +05:30
ef32c9c6d9 nvim: Fix colors in terminal
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-06 19:12:24 +05:30
e37c512c77 mutt: Fix msmtp account settings inside mutt
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-06 18:51:47 +05:30
d8778f264b nvim: Update vim-plug
While at it, ignore old plug file artifact.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-06 16:01:19 +05:30
aef4a3c885 nvim: Use floating window for cscope fzf output
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-06 15:58:22 +05:30
6675403f66 tmux: Add tmux fingers
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-06 14:17:17 +05:30
bfb8a50c4a mutt: Fix mailnotify script
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-06 12:35:17 +05:30
5ad9f571d4 fish: Enable vi key bindings as default
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-06 11:46:42 +05:30
ae310a18f7 Update all mail related configs
1. Use app password for gmail accounts
2. Add nilenso account to mutt, imapfilter, mbsync, msmtp

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-06 10:55:00 +05:30
f4ced7432d i3: Update i3 bindings to not rely on arrow keys
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-05 19:18:52 +05:30
2368683a64 tmux: Do not use arrow keys for pane navigation
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-05 18:51:25 +05:30
f34ad2fca9 fish: Add aliases for frequently used systemd commands
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-05 18:49:37 +05:30
fd30c5af11 tmux: Let base index start from 0 2020-01-04 15:58:05 +05:30
9acfd3d096 tmux: Keep default of starting pane index from 0 2020-01-03 15:28:17 +05:30
a67b25fd4b Makefile: Do not stow gnupg config
Stowing gnupg config results in gnupg settings being stored inside
dotfiles repo which does not play well with permissions required for
gnupg directory.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-03 15:27:01 +05:30
21d2888b09 nvim: Ignore runtime paths
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-03 15:26:33 +05:30
e5ff77990d fish: Add some more aliases for tmux 2020-01-03 15:25:45 +05:30
9cb59e82fc fish: Add fish shell config
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-02 08:06:00 +05:30
d29f4e0e27 mutt: Update mutt config
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-01 14:03:31 +05:30
651c554452 gitignore: Ignore tmux resurrect directory
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-01 12:21:08 +05:30
e951bb849f nvim: init.vim: Setup ghcid/hoogle based on environment
We may be running in a nix environment or without stack supported
project. Check this and setup the environment variable for ghcid and
hoogle plugin accordingly.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-01 12:18:30 +05:30
e2c94e87d6 nvim: init.vim: Use of K conflicts with document access
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-01 12:15:55 +05:30
a4ab466df0 mutt: Use gruvbox colorscheme for mutt
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-31 17:32:54 +05:30
ca33de99c1 Update gnupg and notmuch config
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-31 15:04:16 +05:30
2237cdf38f git: Update gitconfig
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-31 14:59:43 +05:30
6e152774dd Update Makefile to provide additional options
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-31 14:58:42 +05:30
8f0b2fb93e Individual configs should still be in directories
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-31 14:38:50 +05:30
7200bbece7 Switch to using stow for dotfiles management
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-31 14:18:38 +05:30
5cbc5a63c5 Sync with current Manjaro i3 config
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-31 13:45:43 +05:30
abf723ada1 Remove configs we do not need
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-31 12:46:48 +05:30
d113ff9d6b nvim: init.vim: Remove netrw settings
vinegar seems to behave weirdly if these settings are in place. For
example, each invocation of '-' results in a new netrw window and it
persists unless explicitly closed.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-31 12:13:40 +05:30
a42cc7bba7 nvim: init.vim: Use custom bindings for smoothie
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-30 20:22:28 +05:30
05a281029f nvim: init.vim: Remove unimpaired
unimpaired plugin adds more than 15ms of load time and sometimes 20+ms
have also been seen. Not worth it. Just steal or modify some of the
bindings we care about.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-30 19:46:15 +05:30
e727452726 nvim: init.vim: Fix binding for save
w is for word motion. Do not use it without leader.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-30 19:15:26 +05:30
83b5ba6487 nvim: init.vim: Remove fzf installation
Now that we do not need to take care of shitty ubuntu, remove fzf
install. On ubuntu, having a system installed fzf seemed to not work
with the fzf plugin.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-30 18:04:08 +05:30
8fcb0af80c nvim: init.vim: Reintroduce vim-vinegar
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-30 17:29:20 +05:30
4a640413a7 nvim: init.vim: Minor cleanup
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-30 17:07:11 +05:30
fd9df06b50 nvim: init.vim: Remove some more leader usage
Follow in the foot steps of commit 4ebc8f3 and remove some more usage of
leader key.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-30 16:45:21 +05:30
037496f1e7 nvim: init.vim: Update some purescript related stuff
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-30 16:31:52 +05:30
4ebc8f3788 nvim: init.vim: Use vim-unimpaired & improve bindings
unimpaired provides some helpful bindings so use that. Remove redundant
bindings like the ones for quickfix & location list due to use of
unimpaired. It also provides consistent bindings across the board.

While at it, reduce the use of leader key. The idea behind using leader
key everywhere was taken since we migrated from spacemacs, However, for
non-conflicting bindings it's better to have a hit as few keys as
possible, so remove leader from few of the earlier bindings.

To see list of all mappings, use '9verbose nmap <key>'.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-30 16:29:11 +05:30
df07def242 nvim: init.vim: Remove gdefault
It's also deprecated and not recommended to use.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-30 12:05:31 +05:30
1259c43e4d nvim: init.vim: Add awk-ward plugin
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-29 15:55:04 +05:30
495aa26e7f nvim: init.vim: Setup deoplete completion for Purescript
Also allow auto imports from PSC IDE.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-28 13:36:00 +05:30
df3b9f5b0b nvim: init.vim: Cleanup indentation defaults autocmd group
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-28 11:29:08 +05:30
13d5041a8a nvim: init.vim: Fix & update purescript key bindings
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2019-12-28 11:28:26 +05:30
fb96c1af6c nvim: init.vim: Use local leader for Haskell & C maps 2019-12-24 13:57:05 +05:30
ca4b9f57f6 nvim: init.vim: Switch from comfortable motion to smoothie 2019-12-24 08:50:36 +05:30
2ea68f3b4f nvim: init.vim: Add helpers for tabular 2019-12-24 08:44:27 +05:30