add nvim-lsp, docker aliases
This commit is contained in:
parent
dc391f7d87
commit
e4d4f2b371
@ -67,7 +67,7 @@ window:
|
|||||||
#
|
#
|
||||||
# Window opacity as a floating point number from `0.0` to `1.0`.
|
# Window opacity as a floating point number from `0.0` to `1.0`.
|
||||||
# The value `0.0` is completely transparent and `1.0` is opaque.
|
# The value `0.0` is completely transparent and `1.0` is opaque.
|
||||||
opacity: 0.9
|
opacity: 0.8
|
||||||
|
|
||||||
|
|
||||||
# Startup Mode (changes require restart)
|
# Startup Mode (changes require restart)
|
||||||
|
@ -316,7 +316,7 @@ globalkeys = gears.table.join(
|
|||||||
{},
|
{},
|
||||||
"XF86AudioRaiseVolume",
|
"XF86AudioRaiseVolume",
|
||||||
function()
|
function()
|
||||||
awful.spawn("set-vol +2")
|
awful.spawn("set-vol +5")
|
||||||
end,
|
end,
|
||||||
{description = "raise volume", group = "shortcut"}
|
{description = "raise volume", group = "shortcut"}
|
||||||
),
|
),
|
||||||
@ -324,7 +324,7 @@ globalkeys = gears.table.join(
|
|||||||
{},
|
{},
|
||||||
"XF86AudioLowerVolume",
|
"XF86AudioLowerVolume",
|
||||||
function()
|
function()
|
||||||
awful.spawn("set-vol -2")
|
awful.spawn("set-vol -5")
|
||||||
end,
|
end,
|
||||||
{description = "lower volume", group = "shortcut"}
|
{description = "lower volume", group = "shortcut"}
|
||||||
),
|
),
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
" variables
|
" variables
|
||||||
let g:black_linelength=79
|
let g:black_linelength=79
|
||||||
|
|
||||||
|
" plugins
|
||||||
|
lua require'lspconfig'.pyright.setup{}
|
||||||
|
|
||||||
" keybindings
|
" keybindings
|
||||||
nnoremap <C-f> :Black<CR>
|
nnoremap <C-f> :Black<CR>
|
||||||
|
@ -14,15 +14,24 @@ set suffixes+=.pyc
|
|||||||
set foldmethod=indent
|
set foldmethod=indent
|
||||||
set nofoldenable
|
set nofoldenable
|
||||||
set foldlevel=99
|
set foldlevel=99
|
||||||
|
set grepprg=grep\ -rn\ $*
|
||||||
|
set listchars=tab:>\ ,multispace:\|⋅⋅⋅,trail:⋅,nbsp:+
|
||||||
|
|
||||||
au BufWrite * :%s/\s\+$//e
|
au BufWrite * :%s/\s\+$//e
|
||||||
|
|
||||||
" packages
|
" packages
|
||||||
so ~/.config/nvim/epitech_header.vim
|
so ~/.config/nvim/epitech_header.vim
|
||||||
|
|
||||||
packadd! nvim-treesitter
|
packadd! nvim-treesitter
|
||||||
lua require('nvim-treesitter.configs').setup{highlight = {enable = true}}
|
lua require('nvim-treesitter.configs').setup{highlight = {enable = true}}
|
||||||
|
|
||||||
packadd! black
|
packadd! black
|
||||||
|
|
||||||
|
packadd! nvim-lspconfig
|
||||||
|
|
||||||
|
packadd! nvim-lsp-installer
|
||||||
|
lua require("nvim-lsp-installer").setup{}
|
||||||
|
|
||||||
|
|
||||||
" keybindings
|
" keybindings
|
||||||
nnoremap <C-c><C-h> :Header<CR>
|
nnoremap <C-c><C-h> :Header<CR>
|
||||||
@ -32,3 +41,7 @@ nnoremap <C-h> <C-w>h
|
|||||||
nnoremap <C-j> <C-w>j
|
nnoremap <C-j> <C-w>j
|
||||||
nnoremap <C-k> <C-w>k
|
nnoremap <C-k> <C-w>k
|
||||||
nnoremap <C-l> <C-w>l
|
nnoremap <C-l> <C-w>l
|
||||||
|
|
||||||
|
nnoremap gf gF
|
||||||
|
|
||||||
|
lua vim.keymap.set('n', 'K', vim.lsp.buf.hover, bufopts)
|
||||||
|
1
.config/nvim/pack/plugins/opt/nvim-lsp-installer
Submodule
1
.config/nvim/pack/plugins/opt/nvim-lsp-installer
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit b8c168ccb30529a11404e5f71525502ec6288ccf
|
@ -1 +1 @@
|
|||||||
Subproject commit 347947355ba0a15d803cbd61b18f8bb8f401c793
|
Subproject commit 60f2993b9661d9844cee3bebdbd1b5860577eb3c
|
@ -1 +1 @@
|
|||||||
Subproject commit 36830c4ce838f4e7b19d95d6099af1311f618c26
|
Subproject commit 0d7fab0c3323ed2e50ccdf14fd24fbbad664f7b1
|
@ -1 +1 @@
|
|||||||
Subproject commit 249c708ed3a4a7a63d16a6e911a46b6fb9623cbd
|
Subproject commit aa75eeea3348b906f2016be0e44335889e0faed1
|
@ -8,6 +8,3 @@ alias startgui='startx'
|
|||||||
alias umnt='sudo umount /mnt -R'
|
alias umnt='sudo umount /mnt -R'
|
||||||
alias vi="$EDITOR"
|
alias vi="$EDITOR"
|
||||||
alias tmp="cd $(mktemp -d)"
|
alias tmp="cd $(mktemp -d)"
|
||||||
|
|
||||||
alias k="kubectl"
|
|
||||||
alias dc=docker-compose
|
|
||||||
|
@ -102,3 +102,4 @@ eval "$(pyenv init -)"
|
|||||||
pyenv shell 3.10.5
|
pyenv shell 3.10.5
|
||||||
. "$ZDOTDIR"/.zsh_aliases
|
. "$ZDOTDIR"/.zsh_aliases
|
||||||
. "$ZDOTDIR"/.kubectl_aliases
|
. "$ZDOTDIR"/.kubectl_aliases
|
||||||
|
. "$ZDOTDIR"/.docker_aliases
|
||||||
|
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -7,3 +7,6 @@
|
|||||||
[submodule ".config/zsh/.oh-my-zsh"]
|
[submodule ".config/zsh/.oh-my-zsh"]
|
||||||
path = .config/zsh/.oh-my-zsh
|
path = .config/zsh/.oh-my-zsh
|
||||||
url = https://github.com/ohmyzsh/ohmyzsh.git
|
url = https://github.com/ohmyzsh/ohmyzsh.git
|
||||||
|
[submodule ".config/nvim/pack/plugins/opt/nvim-lsp-installer"]
|
||||||
|
path = .config/nvim/pack/plugins/opt/nvim-lsp-installer
|
||||||
|
url = https://github.com/williamboman/nvim-lsp-installer.git
|
||||||
|
Loading…
Reference in New Issue
Block a user