diff --git a/cli/misc/alias.zsh b/cli/misc/alias.zsh index 600d574..f2ffed3 100644 --- a/cli/misc/alias.zsh +++ b/cli/misc/alias.zsh @@ -8,3 +8,16 @@ alias "op"="open" alias "ssh"="kitty +kitten ssh" export LESS="-Rj.5" + +alias "ls"="ls --color=auto" +alias "l"="ls -l" +alias "lh"="l -h" +alias "la"="ls -la" +alias "lla"="ls -la" +alias "lc"="l --color" + +alias "m"="l" +alias "o"="l" +alias "k"="l" + +alias ls="exa --group" diff --git a/cli/zsh/alias.zsh b/cli/zsh/alias.zsh index 796dce2..00ab09b 100644 --- a/cli/zsh/alias.zsh +++ b/cli/zsh/alias.zsh @@ -1,14 +1,3 @@ -alias "ls"="ls --color=auto" -alias "l"="ls -l" -alias "lh"="l -h" -alias "la"="ls -la" -alias "lla"="ls -la" -alias "lc"="l --color" - -alias "m"="l" -alias "o"="l" -alias "k"="l" - alias "prename"="perl-rename" export CHROME_EXECUTABLE=google-chrome-stable diff --git a/nvim/nvim/config/nvim.ln/lua/lsp/signature.lua b/nvim/nvim/config/nvim.ln/lua/lsp/signature.lua index 3987c9b..e687f0e 100644 --- a/nvim/nvim/config/nvim.ln/lua/lsp/signature.lua +++ b/nvim/nvim/config/nvim.ln/lua/lsp/signature.lua @@ -7,6 +7,7 @@ signature.setup({ doc_lines = 100, fix_pos = true, always_trigger = true, - + toggle_key = "", + floating_window = false, }) diff --git a/nvim/nvim/config/nvim.ln/lua/treesitter/npairs.lua b/nvim/nvim/config/nvim.ln/lua/treesitter/npairs.lua index af51298..def2ca9 100644 --- a/nvim/nvim/config/nvim.ln/lua/treesitter/npairs.lua +++ b/nvim/nvim/config/nvim.ln/lua/treesitter/npairs.lua @@ -40,31 +40,31 @@ npairs.add_rules { end) :use_key(']'), - Rule('=', '') - :with_pair(cond.not_inside_quote()) - :with_pair(function(opts) - local last_char = opts.line:sub(opts.col - 1, opts.col - 1) - if last_char:match('[%w%=%s]') then - return true - end - return false - end) - :replace_endpair(function(opts) - local prev_2char = opts.line:sub(opts.col - 2, opts.col - 1) - local next_char = opts.line:sub(opts.col, opts.col) - next_char = next_char == ' ' and '' or ' ' - if prev_2char:match('%w$') then - return ' =' .. next_char - end - if prev_2char:match('%=$') then - return next_char - end - if prev_2char:match('=') then - return '=' .. next_char - end - return '' - end) - :set_end_pair_length(0) - :with_move(cond.none()) - :with_del(cond.none()) + -- Rule('=', '') + -- :with_pair(cond.not_inside_quote()) + -- :with_pair(function(opts) + -- local last_char = opts.line:sub(opts.col - 1, opts.col - 1) + -- if last_char:match('[%w%=%s]') then + -- return true + -- end + -- return false + -- end) + -- :replace_endpair(function(opts) + -- local prev_2char = opts.line:sub(opts.col - 2, opts.col - 1) + -- local next_char = opts.line:sub(opts.col, opts.col) + -- next_char = next_char == ' ' and '' or ' ' + -- if prev_2char:match('%w$') then + -- return ' =' .. next_char + -- end + -- if prev_2char:match('%=$') then + -- return next_char + -- end + -- if prev_2char:match('=') then + -- return '=' .. next_char + -- end + -- return '' + -- end) + -- :set_end_pair_length(0) + -- :with_move(cond.none()) + -- :with_del(cond.none()) } diff --git a/toto.py b/toto.py new file mode 100644 index 0000000..e56cc59 --- /dev/null +++ b/toto.py @@ -0,0 +1,9 @@ +print(2) +x = 306 +y = 3 +x += 1 + +x + y * 56816 +"Teest" +x +print("testebjkgbsgfeifheifeofheifheofh")