Commit Graph

63 Commits

Author SHA1 Message Date
Nazeeh ElDirghami
44e8531147 fix lazygit launching on Windows 2021-07-21 10:36:28 -07:00
Dheepak Krishnamurthy
08920a3288 Fix shell not reverting to oldshell 2021-07-14 14:00:04 -06:00
Dheepak Krishnamurthy
52b911aed6 Fix buffer existing bug 2021-07-07 21:38:54 -06:00
Dheepak Krishnamurthy
480e1c1c05 Format files 2021-07-07 21:37:27 -06:00
Dheepak Krishnamurthy
9a2e5a3241 Merge branch 'master' into bug/support-fish-shell 2021-07-07 21:33:45 -06:00
Dheepak Krishnamurthy
acc383d1ea Fix submodule bug 2021-05-10 00:38:27 -06:00
Dheepak Krishnamurthy
fb5ab7d26a Merge pull request #37 from jdelkins/master
Add option to use plenary.nvim to manage floating window
2021-03-25 15:38:09 -06:00
Dheepak Krishnamurthy
917bc0a555 Remove print 2021-03-24 19:16:12 -06:00
Dheepak Krishnamurthy
5787f9b3da Add double quotes 2021-03-24 19:15:34 -06:00
Dheepak Krishnamurthy
854b6738f1 Add fn.exepath(cmd) 2021-03-24 19:07:24 -06:00
Joel D. Elkins
e0b272f771 Add option to use plenary.nvim to manage floating window 2021-03-24 17:32:57 -05:00
Joel D. Elkins
3a8fb14119 fnameescape path before calling lazygit 2021-03-24 16:33:44 -05:00
Joel D. Elkins
7672859d9c Don't use -p if GIT_DIR or GIT_WORK_TREE are set
Setting `-p <path>` is the same as setting `-w <path> -g <path>/.git/`,
but this eliminates the possibility that the git dir could be outside of
the work tree, or else named something besides `.git`. Use case for me
is my configuration files are VC'ed in a git repo, and checked out into
`$HOME` (the work tree). The repo is a bare repo elsewhere.
2021-01-21 12:27:02 -06:00
Dheepak Krishnamurthy
df7ba07b0f Support fish shell 2020-10-28 03:52:22 -06:00
Yiqun Ding
db6ecf4acc Add option to customize popup window corners
The default corners are round and may not look so good with some
font, add this option g.lazygit_floating_window_corner_chars to
allow user to customize the corner characters.
2020-10-16 21:32:59 +08:00
Dheepak Krishnamurthy
66874bd5f6 Fix variables 2020-08-09 20:18:41 -06:00
Dheepak Krishnamurthy
4c337c8b12 Make LazyGitConfig work 2020-08-09 19:50:06 -06:00
Dheepak Krishnamurthy
e72454e244 Fix lazygit vim fugitive conflict 2020-08-02 09:16:16 -06:00
Dheepak Krishnamurthy
56225a9546 Make plugin work as expected when using nvr 2020-07-18 20:54:44 -06:00
Dheepak Krishnamurthy
259c208771 Fix startify issue 2020-07-18 17:12:48 -06:00
Dheepak Krishnamurthy
e3aac4d907 Make buffer persistent 2020-07-18 17:03:06 -06:00
Dheepak Krishnamurthy
719c4ca2c1 Make buffer unlisted 2020-07-18 11:04:46 -06:00
Dheepak Krishnamurthy
f9ed4db2f5 Use global file_buffer 2020-07-18 10:50:34 -06:00
Dheepak Krishnamurthy
2d4d0e7b01 Add function for git_editor_prefix 2020-07-18 10:46:59 -06:00
Dheepak Krishnamurthy
485ca36e87 Add documentation and add LazyGitFilter entry point 2020-07-18 01:24:10 -06:00
Dheepak Krishnamurthy
8c8698428d Remove lua execute function which is no longer needed 2020-07-18 01:19:11 -06:00
Dheepak Krishnamurthy
1bcceaa3a8 Change file_buffer to be listed 2020-07-18 01:18:14 -06:00
Dheepak Krishnamurthy
30dd2867d1 Add comment 2020-07-18 01:09:39 -06:00
Dheepak Krishnamurthy
58d4cbd7ff Merge pull request #10 from acristoffers/master
Fixes paths with spaces
2020-07-18 00:50:47 -06:00
Dheepak Krishnamurthy
10984df491 Use latest neovim lua native callback 2020-07-18 00:46:31 -06:00
Álan Crístoffer
b539740486 Fixes paths with spaces
As it is, when trying to call lazygit with a file that contains a space char in its path will fail, as the path will be broken into two arguments when passed to lazygit. The quotes I added fixes that. Then, there is the fact that the path returned by git has a newline at the end, so I trim the path to remove newlines at the beginning and end of paths. This version works with projects I have inside "Google Drive".

I DID NOT TEST THIS, but are basically the same changes I made on the other branch.
2020-06-25 22:18:40 -03:00
Dheepak Krishnamurthy
348b4383ed Fix getcwd function call 2020-05-01 15:33:02 -06:00
Dheepak Krishnamurthy
3ac95f3752 Add lazygitfilter 2020-04-12 23:33:49 -06:00
Dheepak Krishnamurthy
da366bbad2 Make file_buffer a local variable 2020-04-12 23:33:34 -06:00
Dheepak Krishnamurthy
0143351eae Fix floating_window_scaling_factor being a table or float 2020-04-12 23:22:36 -06:00
Dheepak Krishnamurthy
ab02b864db Try actual and symlinked files 2020-04-12 07:21:21 -06:00
Dheepak Krishnamurthy
bdea17cd4e Use finddir instead of rev-parse 2020-04-12 06:16:01 -06:00
Dheepak Krishnamurthy
d7a2175218 Remove GIT_EDITOR for Windows 2020-04-12 06:00:42 -06:00
Dheepak Krishnamurthy
5acb11ad93 Use bdelete! instead of bwipeout! 2020-04-10 16:06:44 -06:00
Dheepak Krishnamurthy
e5ab1d66b6 Use cmd as multiline string 2020-04-10 14:36:31 -06:00
Dheepak Krishnamurthy
de00c93429 Remove setup function 2020-04-10 14:36:12 -06:00
Dheepak Krishnamurthy
9b80b417cb Use WinLeave instead of BufWipeout for better experience 2020-04-09 15:34:24 -06:00
Dheepak Krishnamurthy
2b6117a75d Fix empty file bug 2020-04-08 14:08:49 -06:00
Dheepak Krishnamurthy
3e13ea3bb2 Make neovim the default git editor 2020-04-08 14:03:11 -06:00
Dheepak Krishnamurthy
fb3f98f805 Add LazyGitConfig command 2020-04-08 14:02:29 -06:00
Dheepak Krishnamurthy
ef5e09e2cf Deal with symlinks appropriately 2020-04-08 12:26:04 -06:00
Dheepak Krishnamurthy
49f9fc812f Use globals for variables 2020-04-08 11:20:13 -06:00
Dheepak Krishnamurthy
770f9af1c5 Add callback on BufLeave 2020-04-08 11:05:35 -06:00
Dheepak Krishnamurthy
1d62d6ee63 Reorder functions 2020-04-08 10:58:34 -06:00
Dheepak Krishnamurthy
f0b3b5c11d Make code more idiomatic lua 2020-04-07 06:46:25 -06:00