alias :q="exit"
alias spellen="aspell -l en check"
alias spellit="aspell -l it check"
+alias spelles="aspell -l es check"
+alias rm="trash"
+alias vim="nvim"
-# Battery (Linux)
-alias battery_pc="~/.config/bash/utils/battery_pc.sh"
-alias battery_uc="~/.config/bash/utils/battery_uc.sh"
+alias rpi="ssh ubuntu@10.0.0.243"
# Thanks to DistroTube <https://gitlab.com/dwt1/dotfiles/>
# Changing "ls" to "exa"; Edited
--- /dev/null
+print("Hello")
+
+Make = require("make")
+
+vim.opt.cursorline = true
+vim.opt.cc = "80"
+vim.opt.number = true
+vim.opt.autoindent = true
+vim.opt.hlsearch = true
+vim.opt.tabstop = 4
+vim.opt.shiftwidth = 4
+vim.opt.clipboard="unnamedplus"
+vim.g.mapleader = " "
+
+Make.setup()
+
--- /dev/null
+local M = {} -- M stands for module, a naming convention
+
+function M.GoBuild()
+ local output = vim.fn.system("go build 2>&1")
+ if vim.v.shell_error ~= 0 then
+ print("Errore durante la build:\n" .. output)
+ else
+ print("Build completata con successo!")
+ end
+end
+
+function M.GoTest()
+ local output = vim.fn.system("go test 2>&1")
+ if vim.v.shell_error ~= 0 then
+ print("Errore durante la build:\n" .. output)
+ else
+ print("Build completata con successo!")
+ end
+end
+
+function M.Make()
+ local output = vim.fn.system("make 2>&1")
+ if vim.v.shell_error ~= 0 then
+ print("Errore durante la build:\n" .. output)
+ else
+ print("Build completata con successo!")
+ end
+end
+
+function M.setup()
+ vim.api.nvim_create_user_command('Make', M.Make, {})
+ vim.keymap.set('n', '<leader>b', "<cmd>Make<cr>", { noremap = true, silent = true })
+end
+
+return M
> [exa](https://the.exa.website/): A replacement for `ls`.
> Disabled
+- English dictionary for aspell;
+- Italian dictionary for aspell;
+- Spanish dictionary for aspell.
+
## TMux
> Not much.