Little things
This commit is contained in:
parent
2981d01c4f
commit
e9abc1afd0
1
common/neovim/.gitignore
vendored
1
common/neovim/.gitignore
vendored
|
@ -3,3 +3,4 @@
|
|||
!/init.vim
|
||||
!/nvim_lsp.lua
|
||||
!/ftplugin
|
||||
!/coc-settings.json
|
||||
|
|
9
common/neovim/coc-settings.json
Normal file
9
common/neovim/coc-settings.json
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"coc.preferences.formatOnSaveFiletypes": ["ex", "exs", "elixir"],
|
||||
"diagnostic-languageserver.filetypes": {
|
||||
"elixir": ["mix_credo", "mix_credo_compile"],
|
||||
"eelixir": ["mix_credo", "mix_credo_compile"]
|
||||
},
|
||||
"elixir.pathToElixirLS": "~/.elixir-ls/release/language_server.sh",
|
||||
"codeLens.enable": true
|
||||
}
|
|
@ -8,6 +8,7 @@ if empty(glob($vimdir.'/autoload/plug.vim'))
|
|||
autocmd VimEnter * PlugInstall --sync | source $vimdir.'init.vim'
|
||||
endif
|
||||
|
||||
" let g:coc_global_extensions = ['coc-elixir', 'coc-diagnostic']
|
||||
let g:completion_enable_auto_popup = 0
|
||||
let g:indent_guide_auto_colors = 1
|
||||
let g:indent_guides_enable_on_vim_startup = 1
|
||||
|
@ -246,3 +247,11 @@ augroup END
|
|||
set statusline=%!StatusLine()
|
||||
|
||||
imap <silent> <c-n> <Plug>(completion_trigger)
|
||||
|
||||
if filereadable(expand($ENV_PATH.'/init.vim'))
|
||||
source "$ENV_PATH/init.vim"
|
||||
endif
|
||||
|
||||
for f in glob($ENV_PATH.'/*/init.d.vim', 0, 1)
|
||||
source "$f"
|
||||
endfor
|
||||
|
|
|
@ -35,10 +35,10 @@ set -g status-interval 5
|
|||
set -g status-left-length 50
|
||||
set -g window-status-style "fg=colour8 bg=colour0"
|
||||
set -g window-status-current-style "fg=colour8 bg=colour0"
|
||||
set -g window-status-format " #I"
|
||||
set -g window-status-format " #W"
|
||||
set -g window-status-separator ""
|
||||
set -g window-status-current-format " #I"
|
||||
set -g status-left "#h:#S #I"
|
||||
set -g window-status-current-format " #W"
|
||||
set -g status-left "#h:#S #W"
|
||||
set -g status-right-length 280
|
||||
set -g status-right "#(kubeline && printf ' ')#{pane_current_path} #(cd '#{pane_current_path}' && git rev-parse --abbrev-ref --sq HEAD | tr -d \"'\")#{pane_current_command}"
|
||||
set -g message-style "fg=colour7 bg=colour18"
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env sh
|
||||
sudo efibootmgr -n 0000
|
||||
# use `efibootmgr` to list boot entries
|
||||
sudo efibootmgr -n 0002
|
||||
sudo reboot
|
||||
|
|
|
@ -14,6 +14,7 @@ smart_borders on|no_gaps
|
|||
hide_edge_borders smart_no_gaps
|
||||
default_border pixel 5
|
||||
focus_follows_mouse no
|
||||
mouse_warping none
|
||||
|
||||
input type:touchscreen {
|
||||
events disabled
|
||||
|
|
Reference in a new issue