summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/aotrix/cmake_autorun.lua8
-rw-r--r--lua/aotrix/nvim_term.lua8
-rw-r--r--lua/aotrix/plugins/cmake-tools.lua1
3 files changed, 1 insertions, 16 deletions
diff --git a/lua/aotrix/cmake_autorun.lua b/lua/aotrix/cmake_autorun.lua
deleted file mode 100644
index 833869c..0000000
--- a/lua/aotrix/cmake_autorun.lua
+++ /dev/null
@@ -1,8 +0,0 @@
--- use :!cmake --build PATH_TO_BUILD_FOLDER
--- && Telescope to choose executable in PATH_TO_BUILD_FOLDER/EXECUTABLE_FOLDER/*
--- Find these lines (in cmake.build) : agougou is the "bin" folder, program is the exe name
--- CMakeFiles/program.dir/build: agougou/program
--- rg 'CMakeFiles\/(.*).dir\/build:(?!.*Lib*)' build/CMakeFiles/ --no-filename -Por '$1'
-vim.keymap.set("n", "mt",
- "<CMD>terminal cmake --build build && ./build/bin/* <CR>",
- {noremap = true, silent = true})
diff --git a/lua/aotrix/nvim_term.lua b/lua/aotrix/nvim_term.lua
deleted file mode 100644
index aa1b312..0000000
--- a/lua/aotrix/nvim_term.lua
+++ /dev/null
@@ -1,8 +0,0 @@
-vim.api.nvim_create_autocmd("TermOpen",
- {callback = function() vim.cmd "startinsert!" end})
-vim.api.nvim_create_autocmd('TermOpen', {
- callback = function()
- vim.opt_local.relativenumber = false
- vim.opt_local.number = false
- end
-})
diff --git a/lua/aotrix/plugins/cmake-tools.lua b/lua/aotrix/plugins/cmake-tools.lua
new file mode 100644
index 0000000..5741e50
--- /dev/null
+++ b/lua/aotrix/plugins/cmake-tools.lua
@@ -0,0 +1 @@
+return {'Civitasv/cmake-tools.nvim', opts = {}}