Log in Register Dashboard Temp Share Shortlinks Frames API

abh - HTMLify profile

abh's Profile Picture

abh

523 Files

134152 Views

Latest files of /abh/nvim/lua/helpers

run-code.lua abh/nvim/lua/helpers/run-code.lua
218 Views
0 Comments
-- [[ run-code.lua ]] --

local M = {}

function M.run_code()
local filetype = vim.bo.filetype;
if filetype == "text" then
vim.cmd("terminal cat %")
init.lua abh/nvim/lua/helpers/init.lua
224 Views
0 Comments
-- [[ helpers funcitons and functnalitis ]] --

local luarocks = require("luarocks")

local helpers = {
{ "run-code" },
{ "logger" },
{ "yankbin" },
logger.lua abh/nvim/lua/helpers/logger.lua
241 Views
0 Comments
-- [[ logger.lua ]] --

local M = {}

function M.log()
local cr, cc = unpack(vim.api.nvim_win_get_cursor(0))

vim.cmd(":normal! yy")
yankbin.lua abh/nvim/lua/helpers/yankbin.lua
262 Views
0 Comments
-- [ Yank Bin ] --

local pickers = require("telescope.pickers")
local finders = require("telescope.finders")
local previewers = require("telescope.previewers")
local actions = require("telescope.actions")
local action_state = require("telescope.actions.state")
local t_config = require("telescope.config").values
notes.lua abh/nvim/lua/helpers/notes.lua
256 Views
0 Comments
-- [[ notes ]] --


local notes_dir = vim.fn.stdpath("data") .. "/notes/"
vim.fn.mkdir(notes_dir, "p")


local Notes = {};
rewrite.lua abh/nvim/lua/helpers/rewrite.lua
184 Views
0 Comments
--[[ ReWrite ]]--


local M = {}

M.write_string = ""
M.write_mode = ""
M.last_writes = {}
shifter.lua abh/nvim/lua/helpers/shifter.lua
1 Views
0 Comments
-- [[ Shifter ]] --

M = {}

function M.shift_up()
local l, c = unpack(vim.api.nvim_win_get_cursor(0))
vim.cmd("norm k")
vim.cmd("norm o")
toggle-bool.lua abh/nvim/lua/helpers/toggle-bool.lua
2 Views
0 Comments
-- [[ Toggle Bool ]] --

local M = {}

function M.toggle_bool_value(bool)
if bool == "true" then return "false" end
if bool == "false" then return "true" end
if bool == "True" then return "False" end