mirror of
https://github.com/d0zingcat/dotfiles.git
synced 2026-05-13 23:16:44 +00:00
add self funcs
This commit is contained in:
1
.zshrc
1
.zshrc
@@ -15,6 +15,7 @@ antigen bundle git
|
||||
antigen bundle kubectl
|
||||
antigen bundle vi-mode
|
||||
antigen bundle autojump
|
||||
antigen bundle pip
|
||||
antigen bundle pipenv
|
||||
antigen bundle Aloxaf/fzf-tab
|
||||
antigen bundle wbingli/zsh-wakatime
|
||||
|
||||
@@ -159,6 +159,7 @@ vim.g.copilot_no_maps = 1
|
||||
vim.g.copilot_assume_mapped = 1
|
||||
|
||||
require('plugins')
|
||||
require('funcs')
|
||||
|
||||
-- Neoformat
|
||||
if not fn.executable('luafmt') then
|
||||
|
||||
5
nvim/lua/funcs.lua
Normal file
5
nvim/lua/funcs.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
local fn = vim.fn
|
||||
|
||||
function GetPath()
|
||||
fn.setreg('+', fn.getreg('%'))
|
||||
end
|
||||
Reference in New Issue
Block a user