summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/nvim/init.vim5
-rw-r--r--.config/shell/aliasrc2
-rwxr-xr-x.scripts/dcalc3
3 files changed, 7 insertions, 3 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index 439fece..2df5e24 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -1,6 +1,9 @@
set number
set relativenumber
-set tabstop=4 softtabstop=4
+set tabstop=4
+set softtabstop=4
+set shiftwidth=4
+set expandtab
set smarttab
set smartindent
set ignorecase
diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc
index c501235..5d78fbb 100644
--- a/.config/shell/aliasrc
+++ b/.config/shell/aliasrc
@@ -9,6 +9,7 @@ alias \
ff="librewolf" \
v="nvim" \
sv="sudo nvim" \
+ vim="nvim" \
r="ranger" \
sr="sudo ranger" \
t="teams -no-sandbox" \
@@ -56,6 +57,7 @@ alias \
st="cd .local/src/st" \
dwm="cd .local/src/dwm" \
dwmblocks="cd .local/src/dwmblocks" \
+ calc="quich"
rm="trash" \
listdel="trash-list" \
restore="trash-restore" \
diff --git a/.scripts/dcalc b/.scripts/dcalc
index 5355f4b..acb482a 100755
--- a/.scripts/dcalc
+++ b/.scripts/dcalc
@@ -1,4 +1,3 @@
#!/bin/sh
-Equation=$(echo "" | dmenu -n -p "Enter equation" | xargs -I % calc %)
-
+Equation=$(echo "" | dmenu -p "Enter equation" | xargs -I {} quich "{}")
notify-send "Result" "$Equation"