Commit Graph

49 Commits

Author SHA1 Message Date
Junegunn Choi
eed886c0c8 Extended dimension expression (#68) 2015-05-05 14:36:31 +09:00
Junegunn Choi
b447d34143 Move the code to autoload directory (#55)
Thanks to @edkolev
2015-01-31 01:28:25 +09:00
Junegunn Choi
f9d0a69eaa Map CTRL-W = for restoring the initial size (#53) 2015-01-26 19:17:23 +09:00
Junegunn Choi
e7eb3f19cc Define CTRL-W mappings for resizing Goyo window (#46) 2014-11-26 01:26:17 +09:00
Junegunn Choi
b16a80ac9e Allow switching of buffers in Goyo mode (Fix #31) 2014-11-24 02:24:15 +09:00
Junegunn Choi
8b74a603e5 Hide statusline on WinEnter and WinLeave 2014-09-22 12:19:48 +09:00
Junegunn Choi
9e04ccdb9d Promote the use of User events instead of g:goyo_callbacks
This does not break backward compatibility, g:goyo_callbacks is still
allowed.
2014-08-11 02:16:31 +09:00
Junegunn Choi
da67185e4a Fix error when vim-signify is not installed (#39) 2014-07-26 23:50:54 +09:00
Kevin MacMartin
27ea8fa731 Following junegunn's advice, both checks are made together 2014-07-23 23:19:04 -04:00
Kevin MacMartin
ae04751e09 Added git-signify to the list of toggled plugins 2014-07-20 23:39:13 -04:00
Junegunn Choi
549f865ab4 Add Goyo! command for turning it off 2014-07-05 23:13:13 +09:00
Junegunn Choi
a2b772fe58 Never allow cursor on pad windows 2014-07-04 02:56:46 +09:00
Junegunn Choi
7e318dbcce Fix winminwidth issue (#35) 2014-07-03 23:37:29 +09:00
Junegunn Choi
5bea57ebf5 Retain cursor position on close (#27)
This however doesn't work if Goyo window is closed with `:q`
2014-04-28 12:29:33 +09:00
Junegunn Choi
ed3d591346 Fix #25: Statusline visibility on urxvt 2014-04-25 11:29:14 +09:00
Junegunn Choi
16929c8d5d Go back to the correct tab when disabling Goyo (#24) 2014-04-11 21:12:31 +09:00
Junegunn Choi
02bf007fb7 Set nocursorcolumn for pad windows (Fix #20) 2014-03-28 10:11:56 +09:00
Junegunn Choi
5a663f2d37 Ignore errors from AirlineRefresh (#15) 2014-01-17 23:40:27 +09:00
Junegunn Choi
f7abffb9bb Load default color scheme when g:colors_name is not defined (#14) 2014-01-12 22:06:56 +09:00
Lucas Stadler
31bcf63af8 Only reload the colorscheme if one is defined.
E.g. work with the default one which doesn't define `g:colors_name`.
2014-01-12 13:25:23 +01:00
Junegunn Choi
e4631ee2df Toggle lightline as well 2014-01-02 01:10:20 +09:00
Junegunn Choi
adb6fff7d0 Need to reduce winheight before setting winminheight (#13) 2014-01-01 08:53:53 +09:00
Junegunn Choi
41407af3da Ignore vim-gitgutter errors 2013-12-31 13:11:10 +09:00
Junegunn Choi
d5aef74ca5 Call before-callback after auto commands are set 2013-12-31 13:03:52 +09:00
Junegunn Choi
f889b4357e Fix #13: winminheight error 2013-12-31 10:37:10 +09:00
Junegunn Choi
25071e7b73 Fix #12: Invalid window position when &splitright is set 2013-12-31 02:40:23 +09:00
Junegunn Choi
acf59a4507 Fix #7 - Vim 7.0 compatibility (relativenumber, colorcolumn) 2013-12-05 10:55:23 +09:00
Junegunn Choi
ee4ebc8e78 Set sidescroll=1 sidescrolloff=0 (#6) 2013-12-04 23:49:03 +09:00
Junegunn Choi
43d3186722 Fix buffers becoming nomodifiable after Goyo (#5) 2013-12-04 11:16:21 +09:00
Junegunn Choi
c75be8e24a Better support of GVim
- Hide unnecessary scrollbars
- Fix errors on color schemes without background
2013-12-04 11:09:27 +09:00
Junegunn Choi
7c923dd77f Allow users to define custom before/after callbacks (#3) 2013-12-04 01:32:57 +09:00
Junegunn Choi
b4a1a855a7 Check if we're closing the right tab 2013-12-04 00:45:55 +09:00
Junegunn Choi
0f578fc258 norelativenumber required for pad windows when g:goyo_linenr is set 2013-12-03 08:26:55 +09:00
Junegunn Choi
133e182dd3 Don't need to revert window-local options 2013-12-03 08:25:45 +09:00
Junegunn Choi
0d7720e24c set noruler instead of setlocal noruler 2013-12-03 08:24:12 +09:00
Tom Vincent
49ffcd5586 Toggle ruler 2013-12-02 20:05:13 +00:00
Junegunn Choi
589837b886 Correctly restore powerline colors (#1) 2013-12-02 23:55:33 +09:00
Junegunn Choi
7e6087a07c Temporarily disable vim-powerline (#1) 2013-12-02 23:16:28 +09:00
Junegunn Choi
eb92e8033b Temporarily disable vim-airline while in Goyo mode (#1)
+ revert options after (not before) closing goyo tab
2013-12-02 18:46:00 +09:00
Junegunn Choi
f9b450f36b g:goyo_linenr 2013-12-02 13:01:35 +09:00
Junegunn Choi
dddbb459e2 Fill in pad windows with blank lines to hide tildes 2013-12-02 10:10:45 +09:00
Junegunn Choi
650ce9db19 Set statusline according to winwidth() for bg-less color schemes 2013-12-02 02:51:42 +09:00
Junegunn Choi
f4be19d887 setlocal -> set 2013-12-01 23:34:11 +09:00
Junegunn Choi
ef2f975bc9 Fix winfixwidth 2013-12-01 11:32:03 +09:00
Junegunn Choi
4849327007 Apply winfixwidth and winfixheight 2013-12-01 03:04:46 +09:00
Junegunn Choi
724de16aa0 Support color schemes w/o background color 2013-12-01 02:34:49 +09:00
Junegunn Choi
e8f5f2bb0f Update autocmd 2013-12-01 00:06:31 +09:00
Junegunn Choi
399960298e :Goyo [width] 2013-11-30 21:22:50 +09:00
Junegunn Choi
404a35cbca Initial commit 2013-11-30 20:49:37 +09:00