Added installer script

This commit is contained in:
2023-09-19 00:02:37 +05:30
parent bad43a250c
commit 45186b5796
6 changed files with 65 additions and 11 deletions
+7 -2
View File
@@ -42,8 +42,13 @@ then
fi
. /usr/share/fzf/shell/key-bindings.bash
. $HOME/Projects/Github/dotFiles/home/.local/Apps/daily-utils/hari-autocomplete.sh
if [[ -f /usr/share/fzf/shell/key-bindings.bash ]]; then
. /usr/share/fzf/shell/key-bindings.bash
fi
if [[ -f $HOME/.local/Apps/daily-utils/hari-autocomplete.sh ]]; then
. $HOME/.local/Apps/daily-utils/hari-autocomplete.sh
fi
#export PS1='\e[1;36;40m[\u@\h\e[1;33;40m \W]\e[0;37;40m\$ '
PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] '
+2 -2
View File
@@ -1,8 +1,8 @@
font:
size: 13.0
size: 14.0
normal:
# family: Source Code Pro Medium
family: DejaVuSansMono Nerd Font Mono
family: CodeNewRoman Nerd Font Mono
key_bindings:
- { key: Return, mods: Shift, chars: "\e[13;2u" }
@@ -3,7 +3,4 @@
./bin/bash-session
./bin/ibus-next-engine.py
./bin/csv-split-by-col.py
./bin/dasel_linux_amd64
./bin/octosql
./bin/dsq
./bin/sway-wp-switch
@@ -39,6 +39,10 @@ lvim.builtin.terminal.active = true
lvim.builtin.nvimtree.setup.view.side = "left"
lvim.builtin.nvimtree.setup.renderer.icons.show.git = false
lvim.builtin.lualine.sections.lualine_b = { 'branch', '%f' }
-- Automatically install missing parsers when entering buffer
lvim.builtin.treesitter.auto_install = true
@@ -49,6 +53,8 @@ lvim.builtin.treesitter.auto_install = true
-- -- generic LSP settings <https://www.lunarvim.org/docs/languages#lsp-support>
lvim.lsp.null_ls.setup.timeout_ms = 20000
-- --- disable automatic installation of servers
-- lvim.lsp.installer.setup.automatic_installation = false
@@ -92,6 +98,12 @@ formatters.setup {
-- },
-- }
-- Flutter snippets enable
local luasnip = require("luasnip")
luasnip.filetype_extend("dart", { "flutter" })
-- -- Additional Plugins <https://www.lunarvim.org/docs/plugins#user-plugins>
-- lvim.plugins = {
-- {
@@ -122,12 +134,14 @@ command! -nargs=+ Gr :silent execute 'grep! -nr "<args>" | copen'
command! -nargs=* Grc grep -nr <args>
" Add file header to current buffer. Depends on https://github.com/harish2704/file-header
command! Header :execute '0r!file-header %'
command! Header :execute "0r!file-header '%'"
" Open Terminal in split window
command! Termw :execute '!konsole -e bash-session &'
command! Term :execute 'sp | term'
command! EditSnippet :execute 'lua require("luasnip.loaders").edit_snippet_files()'
" Cd to current file's directory
command! Cwd :execute 'cd %:p:h'
@@ -155,7 +169,7 @@ nmap <Leader><Leader>g :!git gui &<CR>
nmap <M-r> :e!<CR>
" Alt-q Delete current buffer ( Close file )
nmap <M-q> :bd<CR>
nmap <M-q> :BufferKill<CR>
" <Ctrl-Shift-q> force Close buffer
nmap <M-Q> :bd!<CR>
@@ -197,10 +211,12 @@ vmap <C-s> <Esc><c-s>gv
imap <C-s> <Esc><c-s>
nmap <C-PageUp> :BufferLineCyclePrev<CR>
nmap <C-PageDown> :BufferLineCycleNext<CR>
nmap <C-S-PageUp> :BufferLineMovePrev<CR>
nmap <C-S-PageDown> :BufferLineMoveNext<CR>
let g:user_emmet_mode='inv'
let g:user_emmet_install_global = 0
autocmd FileType html,css,vue,jsx,php EmmetInstall
autocmd FileType html,css,vue,jsx,php,javascriptreact EmmetInstall
nmap <C-G> :execute 'Telescope live_grep default_text=' . expand('<cword>')<cr>
]])
-- imap <C-E> <plug>(emmet-expand-abbr)
@@ -213,7 +229,7 @@ vim.keymap.set('n', '<F12>', function() require('dap').step_out() end)
lvim.builtin.dap.active = true
lvim.builtin.which_key.mappings["l"]["f"] = {
function()
require("lvim.lsp.utils").format { timeout_ms = 2000 }
require("lvim.lsp.utils").format { timeout_ms = 20000 }
end,
"Format",
}
@@ -273,6 +289,10 @@ lvim.plugins = {
build = "npm install --prefix server",
lazy = true,
},
{
"jamessan/vim-gnupg",
-- lazy = true,
},
{
"kylechui/nvim-surround",
config = function()
+1
View File
@@ -0,0 +1 @@
LunarVim