Commit graph

203 commits

Author SHA1 Message Date
lhark
7feece53e2 Do not display tags while using shuffle to keep a consistent spacing 2018-03-19 14:48:46 -04:00
lhark
83f91a5034 [zshrc] Switch to builtin vcs_info for the git prompt. Move aliases and prompt to new file
Instead of using hand crafted parsing to get the current git state, we
use the existing vcs_info module, augmented by a few hooks to preserve
previous prompt functionality.

The prompt now also display the vi mode of ZLE on the left of the
username : [I] for insert mode, [N] for normal mode.

A lot of the inspiration for this refactor came from
https://github.com/frioux/dotfiles
For example the tweaks to the keybindings and completion.
2018-02-26 03:18:40 -05:00
lhark
36d5920e5e [zshrc] Set default WINEPREFIX 2018-02-26 03:17:54 -05:00
lhark
28bad78db0 [zshrc] Fix bug with running command containing '%' 2018-02-26 03:16:54 -05:00
lhark
f377c914fc [vimrc] Add rust support. Add utf16 support, Fix " pair matching 2018-02-26 03:14:43 -05:00
lhark
b2190f6cb3 [vimrc] Disable trailing whitespace cleanup when in binary mode 2018-02-26 03:13:20 -05:00
lhark
5c1c64d373 Setup easytags with YouCompleteMe support 2018-02-26 03:11:55 -05:00
lhark
7e3cfd66ae Tweak completion and linter. Add hlsl syntax highlight 2017-11-20 13:40:08 -05:00
lhark
ca3e91e7c3 Replace vim-airline by lightline. Add ALE linter. Configure YCM 2017-10-26 11:57:55 -04:00
lhark
de3e9adf71 Add w!! command to force sudo writing 2017-10-26 11:57:55 -04:00
lhark
59250b2cfe Clean up zshrc comments 2017-10-19 02:44:57 -04:00
lhark
cd310ccd25 Fix LD_PRELOAD for zbarcam on archlinux 2017-10-19 01:11:20 -04:00
lhark
f06a76e3ea Fix $WINEPREFIX in steam-wine alias 2017-10-19 01:10:47 -04:00
lhark
b1cc6e8075 Switch to hybrid relative number in vim 2017-10-19 01:09:25 -04:00
lhark
7f88c72e3b Fix tty mouse not working after column 222 2017-10-19 01:08:38 -04:00
lhark
a84de5792d Add lf alias to get log of modified files 2017-10-19 01:07:57 -04:00
lhark
14fb9c1b84 Android env variables, ytmp3 alias 2017-09-11 13:10:59 -04:00
lhark
db2bd95583 Check for python before loading jedi. small tweaks 2017-09-11 13:10:59 -04:00
lhark
6b481e598f Add Void Linux to system update checking 2017-09-09 01:58:50 -04:00
lhark
28452931ad Add smali syntax hightlighting for vim 2017-07-25 00:57:17 -04:00
lhark
001fe2016d Add exit status to prompt & Remove useless zsh options 2017-07-25 00:56:54 -04:00
lhark
69bb3ad34f Add surftor alias 2017-06-17 06:34:38 +02:00
lhark
0f7985c4e3 vimrc overhaul, switch to jedi-vim for python completion, deactivate arrow keys 2017-04-27 13:36:45 -04:00
lhark
bded9cb24c Switch to a better indent detector plugin 2017-03-20 14:24:16 -04:00
lhark
b249431a26 Merge tab vim tab char 2017-03-14 10:39:30 -04:00
lhark
15255cc1a5 Add indent detection 2017-03-14 10:37:20 -04:00
lhark
b5eaf95863 Add cuda variables 2017-03-14 10:36:21 -04:00
lhark
eb0d6ad821 Lighten tab marker 2017-03-06 18:27:35 +01:00
lhark
e4aa0f140b Ignore C objects files 2016-12-05 04:41:46 -05:00
lhark
4018706967 Opencl completion 2016-11-02 23:50:48 -04:00
lhark
384cbfeb3b Clean up code and improve readability 2016-10-27 03:51:43 -04:00
lhark
865a49a0b7 keybinding were causing visual glitching (chars not appearing right away) 2016-10-27 03:50:55 -04:00
lhark
a9847125ad Correct switch case indentation in C++ & Java too 2016-10-24 23:43:18 -04:00
lhark
5c7fc32af1 Vim plugins cleanup 2016-10-24 23:42:43 -04:00
lhark
12691112e5 shell code cleanup using shellcheck 2016-10-22 01:10:25 -04:00
lhark
0e14d4b93c Fix scope problems 2016-10-11 01:04:33 -04:00
lhark
fdc4d9ccae Added TODO list 2016-10-11 01:00:44 -04:00
lhark
56c6155640 Suppress error when /dev/shm/prompt_msg does not exist 2016-10-11 06:52:41 +02:00
lhark
b5958036c4 Fix grammar error 2016-10-11 00:49:35 -04:00
lhark
dd98a17e7c Fix prompt creation bug & cleaned up prompt code 2016-10-11 00:44:21 -04:00
lhark
68984ff8c1 Improved rc self update and added sys update watch 2016-10-10 21:54:42 -04:00
lhark
c9290261eb Add message displaying capabilities to the prompt 2016-10-10 20:27:28 -04:00
lhark
b0252a3fd8 Prevent wine from associating itself with common filetypes 2016-10-10 02:41:47 -04:00
lhark
b6e553c661 Set readable font for gvim 2016-10-10 02:41:11 -04:00
lhark
602083b7b5 Add syntax highlighting for glsl 2016-10-10 02:40:27 -04:00
lhark
770ad90da6 Suckless switch case indent style 2016-09-28 10:35:44 -04:00
lhark
f7f7a7e1d2 Mergetool set to vimdiff 2016-09-28 10:29:54 -04:00
lhark
a32570e3c1 Add steam alias for archlinux 2016-08-13 19:24:44 +02:00
lhark
8acd7d6e4c Make vim more portable by not using powerline fonts 2016-07-26 21:49:49 +02:00
lhark
ea2e6244ac Make zsh prompt readable on non solarized light background 2016-07-19 00:35:22 +02:00