Commit Graph

281 Commits

Author SHA1 Message Date
David JULIEN
2b9ba03eaf
refactor: configure LSP in ~/.config/nvim/lua/lsp
-> moved from ~/.config/nvim/
.../nvim/lua/lsp/init.lua now has a setup() function

!!! nvim-lspconfig is now lazy-loaded
-> packer checks filetype (see .../nvim/plugins.lua)
2021-07-22 23:05:08 +02:00
David JULIEN
e159cad0ec format: don't create tables for one single string 2021-07-22 23:00:55 +02:00
David JULIEN
3d13e614a0 feat: lazyredraw the windows' content
e.g. when applying a macro on several lines
2021-07-22 22:59:33 +02:00
David JULIEN
4d88409e2f fix: cursor shape in zsh 2021-07-12 17:19:48 +02:00
David JULIEN
cca9b19fe7 feat: update Tree-sitter on launch 2021-07-12 16:16:24 +02:00
David JULIEN
03ae7cfce3 feat: more telescope mappings 2021-05-30 00:03:02 +02:00
David JULIEN
c7b3fc1851 feat: don't need full path displayed in nvim status 2021-05-30 00:03:02 +02:00
David JULIEN
2737cfc4a2 feat: make use of vim.opt
!!! BREAKING : requires neovim #13479 (commit `43956de` on master)
2021-05-30 00:02:56 +02:00
David JULIEN
12fd83dd6e feat: update installed packages
remove openvpn
add linux-lts (fallback if upstream breaks)
add latex packages
2021-05-28 10:11:01 +02:00
David JULIEN
c5ab5d8168 fix: copy to xclipboard mapping 2021-05-28 10:09:25 +02:00
David JULIEN
964678ce96 feat: green is greener (and less blue) 2021-05-28 10:07:24 +02:00
David JULIEN
73dd0ae2be feat: remove nvim buffer indicator 2021-05-28 00:52:16 +02:00
David JULIEN
8bbc5d7097 format: nvim-telescope requirements 2021-05-25 16:35:00 +02:00
David JULIEN
c4c010b067 fix: nvim clipboard behavior 2021-05-25 16:35:00 +02:00
David JULIEN
5529c37703 feat: add treesitter highlighting and indentation
tweak colorscheme to be usable
add nvim-treesitter setup file
disable native nvim indentation
2021-05-25 16:34:37 +02:00
David JULIEN
9f56efa64a feat: LaTeX LSP configuration 2021-05-24 23:59:54 +02:00
David JULIEN
3c6fddd58f feat: LSP + Telescopes mappings in neovim 2021-05-23 01:37:44 +02:00
David JULIEN
98a005d6f3 feat: clangd setup 2021-05-23 00:49:37 +02:00
David JULIEN
468a358a68 feat: gf on colorscheme in nvim/init.lua 2021-05-22 01:05:14 +02:00
David JULIEN
6e23ee1e40 feat: move lsp mappings to nvim/lua/maps.lua 2021-05-22 01:04:35 +02:00
David JULIEN
9c2569e575 fix: local and global declarations 2021-05-21 22:49:21 +02:00
David JULIEN
694b9d4024 feat: add auto complete icons 2021-05-21 22:49:05 +02:00
David JULIEN
7e3cc716c5 feat: configure lua LSP for neovim 2021-05-21 22:49:05 +02:00
David JULIEN
2cd4ccc6ee fix: path comments 2021-05-21 22:48:13 +02:00
David JULIEN
4959c90448 feat: update LSP icons (signcolumn + statusline)
also add a globals.lua file
2021-05-21 11:58:59 +02:00
David JULIEN
c7068ff557 feat: update xrdb config
change dwm gapps
manage st symbols font
2021-05-21 11:57:01 +02:00
David JULIEN
c8840c4d59 feat: auto update git submodules 2021-05-20 12:22:29 +02:00
David JULIEN
84c623582a cleanup: reorganize git config file 2021-05-20 00:40:09 +02:00
David JULIEN
14e6663e6c feat: setup auto completion for neovim 2021-05-19 11:56:12 +02:00
David JULIEN
32680ec340 feat: configure LSP in neovim
add LSP config in $XDG_CONFIG_HOME/nvim/lua/lsp
add language servers:
        - clangd (C/C++)
        - jedi (Python)
2021-05-19 11:56:12 +02:00
David JULIEN
8ec80d78f5 feat: use HEAD@neovim instead of arch package
BREAKING: require neovim v0.5+ to work!!!

migrate neovim configuration to lua
2021-05-19 11:56:12 +02:00
David JULIEN
bb099a294e feat: move $HOME/.dotfiles to $HOME/.dotfiles.git 2021-05-19 11:56:05 +02:00
David JULIEN
b0db49ed37 feat: add relevant zsh files 2021-05-19 11:56:05 +02:00
David JULIEN
e2bb1816a5 feat: change default git branch name to "main" 2021-04-09 11:20:11 +02:00
David JULIEN
c2fe5cc27d feat: bindings for ncmcpp 2021-04-09 11:19:13 +02:00
David JULIEN
db7ccaeece feat: remove visualizer from window cycling 2021-04-09 11:18:07 +02:00
David JULIEN
f364909011 fix: keybinding for keyboard backlight
conflicts with dwm
2021-04-09 11:16:55 +02:00
David JULIEN
b68f7100c3 feat: add vpn 2021-04-09 11:16:21 +02:00
David JULIEN
e5bf8ec348 feat: xdg base directories for abook 2021-03-16 01:00:39 +01:00
David JULIEN
237fd4c496 feat: change kbacklight binding 2021-03-15 23:46:14 +01:00
David JULIEN
ff00d91f76 feat: manage system theme through xrdb
default settings for X and dwm/st
2021-03-15 23:45:45 +01:00
David JULIEN
9281a62fc5
cleanup: remove old calls
AC_notify and bat_notify have been removed
2021-03-14 22:50:47 +01:00
David JULIEN
9d85f4d3f8 feat: fetch --prune by default 2021-03-11 02:12:22 +01:00
David JULIEN
d1d356ad56 feat: add abook 2021-03-10 23:12:45 +01:00
David JULIEN
f936b9cfed feat: add scripts for st output management
also update zsh prompt
2021-03-10 23:12:23 +01:00
David JULIEN
8bd0904097 feat: add alsa-utils and dejavu
dejavu needed to display some unicode characters
alsa-utils for actual audio input
2021-03-10 22:59:43 +01:00
David JULIEN
4142d99428 cleanup: move dotfiles to their right place 2021-03-10 22:59:43 +01:00
David JULIEN
0df99db98c feat: add floating terminal keybinding 2021-03-10 22:59:43 +01:00
David JULIEN
fa231e557e feat: floating window for tremc 2021-03-10 22:59:43 +01:00
David JULIEN
5c8f028f4c feat: add abcde 2021-03-10 22:59:43 +01:00
David JULIEN
020bae08e3 feat: rpc-whitelist 2021-03-10 22:59:43 +01:00
David JULIEN
c3aead4882 fix: blocklist enabled 2021-03-10 22:59:43 +01:00
David JULIEN
d8b1624160 fix: reword <leader> definition 2021-03-10 22:59:43 +01:00
David JULIEN
0506dee677 feat: add sent piping + fix description 2021-03-10 22:59:43 +01:00
David JULIEN
0f7c486c5c fix: RO/MO hint for NCStatusline 2021-03-10 22:59:43 +01:00
David JULIEN
0d1e5373ac feat: ncmpcpp presentation
window is bigger
playlist organization change (title shorter, artist+album longer)
2021-03-10 22:59:43 +01:00
David JULIEN
6de603081f format: statusbar
date display
mailbox display
battery icon
2021-03-10 22:59:00 +01:00
David JULIEN
d773272331 fix: set geometry for neomutt window 2021-02-22 00:26:57 +01:00
David JULIEN
f4097533e4 feat: use transmission-cli instead of gtk
add script to add a torrent
add keybinding
add pkglist
config files
2021-02-22 00:26:57 +01:00
David JULIEN
a792003e22 feat: remove abcde form database 2021-02-22 00:26:57 +01:00
David JULIEN
82e236a2d9 feat: proper xdg-open configuration 2021-02-21 00:36:26 +01:00
David JULIEN
ac9ed58abe feat: neomutt open file through mailcap + xdg-open 2021-02-21 00:36:18 +01:00
David JULIEN
9d06a61780 legal: change license to GPLv3 in script headers
Kept wondering wether I should keep the MIT (because I highly value
freedom of act) or embrace the GPL (because I don't want this work to
become close-source).

I do understand that this commit (and the next one that is actually
changing the LICENSE) is a defeat for freedom. I guess freedom has been
defeated long time ago, when people and companies figured that was
"free" (as in gratis) was also "free" (as in disposable).

This is not how I think free (as in "libre") works but hey, that surely
is how Intel and other corporations see it (ec: Intel Management Engine
is entirely based on Minix, is close-source, and *maybe* used as a
backdoor by anybody).

It boils down to the Paradox of Tolerance, and I surely won't tolerate
shit going their way. If you want to take open source stuff, be my
guest ; but you have to play by the rules.
2021-02-16 01:09:56 +01:00
David JULIEN
bc7ba31d5c fix: add padding to pos in non-focused window 2021-02-16 01:09:56 +01:00
David JULIEN
052ff9bfd0 feat: add neomutt keybinding 2021-02-16 01:09:56 +01:00
David JULIEN
fb3be783fc feat: unlock GPG at login 2021-02-16 00:37:05 +01:00
David JULIEN
a980567c05 feat: remove Noto (Google) fonts
use Fira Sans instead
2021-02-16 00:36:51 +01:00
David JULIEN
95713ba7fd rename: underscore -> hyphen
arch_setup -> arch-setup
audio_notify -> audio-notify
update README in consequence
2021-02-16 00:34:53 +01:00
David JULIEN
306ff0eb81 legal: add a link to Luke Smith' mutt-wizard
neomutt config files are directly adapted from Luke Smith' work
2021-02-16 00:32:26 +01:00
David JULIEN
5cc2a59e8e fix: call "$TERMINAL" instead of "st" 2021-02-16 00:27:08 +01:00
David JULIEN
36400e76e2 feat: remove mutt-wizard
got rid of mutt-wizard
-> .local/bin/mailsync is heavily inspired by Luke's community's work
2021-02-16 00:26:43 +01:00
David JULIEN
8d64ac56de feat: use neomutt as email client 2021-02-16 00:22:27 +01:00
David JULIEN
5adce8c287 feat: remove alsa-utils
amixer -> pulsemixer
2021-02-13 20:07:47 +01:00
David JULIEN
b2bfb330a7 fix: GPG_TTY setting moved to zsh 2021-02-12 23:03:02 +01:00
David JULIEN
ea68cb0853 feat: add git config file 2021-02-12 21:23:40 +01:00
David JULIEN
6d082216ce feat: add icons to dunst notifications 2021-02-12 00:11:07 +01:00
David JULIEN
331dd26c34 feat: add fetchart plugin to beets 2021-02-11 23:50:05 +01:00
David
af93357560 feat: ncmpcpp can be spawn in a floating window 2021-02-06 00:08:45 +01:00
David
6fc5c852ec feat: automatically generate a pkglist for pacman
add a hook to pacman, generating a list of installed pakages and writing
it to `/home/swytch/.config/paru/pkglist`
2021-02-05 22:33:23 +01:00
David
3cdc6e80eb fix: hide dunst bug
dunst looks for icons even though it shouldn't
-> sending stderr to /dev/null to avoid printing on terminals

also configure icons in case it ever gets fixed
2021-02-05 22:22:22 +01:00
David
dbfec34131 feat: player script
mpc wrapper to send notifications when controlling mpd
add keybindings for sxhkd
2021-02-05 22:21:53 +01:00
David
f3da2228dc feat: use paru as AUR helper 2021-01-25 15:54:40 +01:00
David
c07b1b9a8e feat: change caps remap 2021-01-13 00:46:56 +01:00
David
56d322f571 feat: update mpd/ncmpcpp config files
remove deprecated parameters
prettify
2021-01-13 00:33:29 +01:00
David
52e124fae8 feat: update volume/brightness keybindings
use `super` + {F1,F2,F3,F5,F6} to let Fn available
2021-01-12 23:50:44 +01:00
David
b555c56604 feat: add XDG_DIR declaration
looking at you, firefox...
2020-12-14 12:28:49 +01:00
David
6c28ae4bc2 feat: add mpd/ncmpcpp config files 2020-12-14 12:28:40 +01:00
swy7ch
d0710eb249 fix: fix cursor positioning in templates 2020-12-14 12:10:21 +01:00
David
7cf5dc8113 feat: add zathura config file 2020-12-14 12:10:08 +01:00
David
1b42bac86a feat: add headers to nvim files 2020-11-10 15:01:37 +01:00
David
aa3a983db3
feat: add file templates 2020-11-10 14:59:10 +01:00
David
60aea94875 feat: move zsh prompt to its own file
also tweak it a bit
    -> $ is colored depending on last command exit code
    -> git infos polished
2020-10-12 10:32:25 +02:00
David
5a8d91d346 feat: update shell aliases 2020-10-12 10:31:16 +02:00
David
70c0769e8b feat: change textwidth rules
width is now 80
enforce rule for every filetype
2020-09-29 00:40:09 +02:00
David
6ab07d237b feat: remove deprecated merge alias 2020-09-12 19:15:06 +02:00
David
27227d2610 feat: add suspend keybinding to sxhkd 2020-09-12 19:14:46 +02:00
David
145b19d82d feat: switch sound management to amixer 2020-09-12 19:12:32 +02:00
David
9b2d31f244 feat: dunst now folllows the mouse (multi-monitor) 2020-09-12 19:11:06 +02:00
David
a5b16031a8 feat: change dunst font to Iosevka 2020-09-06 21:47:57 +02:00
David
d3096d669f feat: change neovim code formatting 2020-09-03 21:10:53 +02:00
David
47bd30f9f5 feat: update neovim ftplugins headers 2020-09-03 21:10:53 +02:00
swytch
d2b3034a8a fix: remove nvim guifont
guifont is a GUI Vim setting
2020-08-26 14:40:53 +02:00
swytch
c70c7447fa fix: fix nvim formatoptions and force hardwrap @80 2020-08-26 14:40:46 +02:00
swytch
90e36ef8aa cleanup: reorganize nvim settings 2020-08-26 14:40:28 +02:00
swytch
0a2719ca8f breaking: change license to MIT in headers 2020-06-25 18:48:18 +02:00
swytch
ed514f3a95 feat: add various system config files
(optionnal) X11 config file for screen and keyboard
grub config file
tlp config file
2020-06-20 11:48:33 +02:00
swytch
471a7686f2 feat: update legacy vim config
now use polyjuice colorscheme
custom statusline
vimrc cleanup
fix `noshowmode` comment in nvim config file
remove `cursorline` highlight
2020-06-20 11:39:37 +02:00
swytch
e53327bc71 feat: vim now has its own legacy folder 2020-06-20 11:39:37 +02:00
swytch
7b4e40c4e2 breaking: change neovim keybindings
highlight turnoff is now <leader>h (was <leader>q)
2020-06-20 11:39:37 +02:00
swytch
f70217fa19 feat: neovim colorscheme now has its own repo
delete neovim `colors` and `polyjuice.colortemplate`
2020-06-20 11:39:37 +02:00
swytch
c2c902da6e cleanup: init.vim
nvim comes with sane defaults, no need to set them again :)
2020-06-20 11:39:37 +02:00
swytch
4e9bad0ebb feat: add a light variant of the nvim colorscheme 2020-06-20 11:39:37 +02:00
swytch
2df9d4c6fb fix: update pacman cache cleanup hook
add pacman-contrib dependency
fix description to match other hooks' style
2020-06-20 11:39:37 +02:00
swytch
a0918353fe fix: fix nvim verilog filetype config description 2020-06-20 11:39:37 +02:00
swytch
2bf1ae32e3 fix: make nvim colorscheme declaration more robust
some background color were `black`, which was already the color of the
    window background
gather highlight groups
2020-06-20 11:39:37 +02:00
swytch
196eaa667f feat: make nvim statusline more readable in particular cases
change 'nofiletype' string
column now always display 3 digits
change filename shortening threshold (window width: 70 -> 90)
mode is now 3 letters
2020-06-20 11:39:37 +02:00
swytch
4e7b868e23 feat: move .xmodmap to .config 2020-06-20 11:39:37 +02:00
swytch
b86113d72e feat: add cp and grep aliases
`cp` is now verbose by default
`grep` is colorized
2020-06-20 11:39:37 +02:00
swy7ch
a91ea4f87e feat: change neovim template plugin + update header of scripts 2020-06-20 11:39:37 +02:00
swy7ch
30f254f6c3 cleanup: global files cleanup
+ update LICENSE declaration in .config/nvim/after/ftplugin
+ remove vim.vim filetype settings
+ change mapping for buffer switch in neovim
2020-06-20 11:39:37 +02:00
swy7ch
84366cec8e feat: set default LaTeX flavor in neovim 2020-06-20 11:39:37 +02:00
swy7ch
b0d1cc61dc feat: add fetch script
fetch system infos
lighter than neofetch
remove neofetch
2020-05-15 15:29:05 +02:00
swy7ch
0dad71d5b7 cleanup: [nvim] statusline config + update buffer mappings 2020-05-15 15:28:51 +02:00
swy7ch
e7dd076a68 feat: add vim-template plugin 2020-05-12 17:49:05 +02:00
swy7ch
9e4cd125c2 fix: remove trailing space in statusline 2020-05-12 17:48:28 +02:00
swy7ch
b649716aff feat: tweak nvim colorscheme
SpeciaKey is now green (was cyan)
2020-05-12 17:47:43 +02:00
swy7ch
5be11c47dc feat: polish colorscheme
new grey is old darkgrey
    -> new darkgrey is darker
change statusline File colors
change statusline filename retrieving
    -> if the window is small, only show the tail
2020-05-08 18:51:51 +02:00
swy7ch
e4539c77f9 cleanup: reorganize nvim colorscheme 2020-05-08 12:27:57 +02:00
swy7ch
a23217553a
breaking: remove lightline plugin + add custom statusline
remove `lightline` plugin from init.vim
add statusline.vim to configure the statusline
    -> change whether window is focus or not
2020-05-08 12:25:41 +02:00
swy7ch
8ede2ed945 feat: polyshing neovim colorscheme 2020-05-07 12:52:19 +02:00
swy7ch
fd6e1d2ce3 init repo 2020-05-06 03:20:19 +02:00