Commit graph

105 commits

Author SHA1 Message Date
Daniel Hahler
96b5fdaa77 Remove duplicate entries when adding to v:oldfiles
References #192.
2015-12-27 14:09:21 +01:00
Marco Hinz
9afab110e9 Do not check v:progname anymore
Originally this check was meant to prevent showing the Startify buffer for
certain cases I can't recall anymore.

Now the Startify buffer will be shown at startup if these conditions are true:

  1) no arguments were provided to Vim on the commandline
  2) the first buffer is empty
2015-11-03 13:05:46 +01:00
Marco Hinz
a58f92e781 Update v:oldfiles on :saveas
References #175.
2015-08-07 00:15:28 +02:00
Marco Hinz
2ea22e2e7e Simplify marker implementation
This commit also fixes loading sessions via the new #open_buffers() method.

References #163.
2015-06-01 17:07:40 +02:00
Marco Hinz
9ef7fcb502 Small maintenance tasks 2015-04-28 15:34:11 +02:00
Marco Hinz
36ff6db44a Fix :enew handling (again)
fugitive is run at VimEnter and for new buffers that are associated with
files.

Now fugitive commands will be available after start (in the Startify screen),
but it won't work after calling :Startify, since fugitive is designed that
way.

References #33.
2015-03-25 16:05:26 +01:00
Marco Hinz
5fb1352ca0 Don't clutter v:oldfiles during [,l]vimgrep 2015-03-02 22:06:10 +01:00
Marco Hinz
b5f9682732 Prepend to v:oldfiles for new files too 2015-02-21 13:47:39 +01:00
Marco Hinz
5a60580711 Update recently used files on the fly
Startify depends on v:oldfiles which lists recently used files (taken from the
viminfo file). But viminfo only gets updated once in a session: at exiting
Vim. Thus when you worked in a Vim instance for some time and opened multiple
new buffers, v:oldfiles (and therefore :Startify) wouldn't show the most
recently used files anymore.

Luckily v:oldfiles is editable, so now, each new buffer simply prepends its
associated filename to it, making :Startify always up-to-date.

References #148.
2015-02-11 17:49:22 +01:00
Marco Hinz
d3d5ea68c4 Make "-Vim" another valid v:progname
References #147.
2015-02-03 12:47:02 +01:00
Marco Hinz
aea086205c Change meaning of g:startify_session_autoload
References #142.
2015-01-08 21:42:54 +01:00
coachshea
b89114f359 Add :SClose
References #141.
2015-01-06 00:47:39 +01:00
Marco Hinz
339cdae1af Expose "open buffers" functionality for mapping
References #123.
2014-11-22 18:15:29 +01:00
Marco Hinz
d17bc302d4 Fix switching to calling buffer
References #115.
2014-11-13 21:01:45 +01:00
Marco Hinz
d3d01a45ff Use cleaner line breaking 2014-09-30 12:44:39 +02:00
Marco Hinz
4a788df9b4 Don't save the startify buffer in a session
References #106.
2014-09-07 18:49:49 +02:00
Marco Hinz
19da8f9ee8 Make persistence work with normal sessions 2014-06-11 12:14:21 +02:00
Benjamin Medicke
a4eef8c086 Make startify work with Neovim 2014-06-11 11:41:58 +02:00
Alejandro Exojo
fe5aa8f0ba Qt Vim deserves some startup love too 2014-05-07 13:01:10 +02:00
Marco Hinz
abffc53f0b Make startify work for 'vi' too
..due to popular demand. :)

Closes #79.
2014-04-14 23:42:42 +02:00
Marco Hinz
25af84baa0 New option: g:startify_disable_at_vimenter 2013-09-24 18:17:26 +02:00
Marco Hinz
446f7dbbff Move modelines from bottom to top 2013-09-24 17:41:31 +02:00
Marco Hinz
9e6b819936 Bump version to 1.8 2013-09-04 09:38:53 +02:00
mwcz
7e5cbc067b Allow progname 'vimx'
"I you are running Redhat/CentOS, you can install the vim-X11 package
(if you have gvim then this is already installed). This provides the
vimx command, which is a console version of Vim with X11-clipboard
support."
2013-08-22 20:16:05 +02:00
Marco Hinz
32c62857c9 Clean up VimEnter autocmd 2013-08-05 00:15:27 +02:00
Marco Hinz
516a92060e Bump to 1.7 2013-08-04 23:35:12 +02:00
Marco Hinz
34436b8da5 Remove VimEnter event after execution 2013-08-04 18:08:57 +02:00
Marco Hinz
0d132390dd Fix enew handling
Closes #33.
2013-08-04 18:06:05 +02:00
Marco Hinz
53019cc309 Make Startify a scratch buffer again 2013-07-25 13:53:34 +02:00
Marco Hinz
4e9b9a2f31 Bump to 1.6 2013-05-30 10:26:55 +02:00
Marco Hinz
77aa5df09f Function renaming and reordering 2013-05-25 11:20:18 +02:00
Marco Hinz
3414459d82 Do not mangle global namespace 2013-05-13 19:53:44 +02:00
Marco Hinz
51314fd3c8 Put almost everything into autoload 2013-05-13 19:48:03 +02:00
Marco Hinz
b7175c0456 Bump to 1.5 2013-05-08 17:19:19 +02:00
Marco Hinz
47a96067c4 Better symlink handling 2013-05-08 17:18:11 +02:00
Marco Hinz
6266849a05 make v/a/b silent 2013-05-07 16:02:49 +02:00
Marco Hinz
c333d7a15a never close windows 2013-05-05 18:43:11 +02:00
Marco Hinz
b5205e17a7 ignore sessions for S/V/B 2013-05-03 10:56:06 +02:00
Marco Hinz
9349ae7bf9 make [e] and [q] unmarkable 2013-05-02 22:15:33 +02:00
Marco Hinz
d671a0957c add :SDelete 2013-05-02 21:16:26 +02:00
Marco Hinz
48d748cf0a catch specifically E444 on BufLeave 2013-05-02 20:16:15 +02:00
Marco Hinz
a8d959a737 remove now useless option g:startify_unlisted_buffer 2013-05-02 15:04:35 +02:00
Marco Hinz
134e983f9a add set_mark() and open_buffers() 2013-05-02 15:00:00 +02:00
Marco Hinz
eb406f3870 exclude bookmarked files from MRU list 2013-05-01 12:51:39 +02:00
Marco Hinz
c01acf3908 exclude bookmarked files from MRU files 2013-05-01 12:41:36 +02:00
Marco Hinz
d3f8a23cdc correct indentation 2013-04-30 14:35:22 +02:00
Marco Hinz
b97fcbd490 make function naming clearer 2013-04-30 13:34:25 +02:00
Marco Hinz
4711a54cf5 new option: g:startify_custom_indices
People can now choose to create their own index mapping instead of
having the default behaviour of increasing numbers.

Closes #17.
2013-04-30 13:32:30 +02:00
Marco Hinz
7ab3ca8565 remove filereadable() check for bookmarks
People want to bookmark directories, too. And I don't want to test for 2
things (filereadable() || isdirectory()), because people should know
what they bookmark anyway.

Closes #16.
2013-04-30 08:55:02 +02:00
Marco Hinz
74a5d12785 'e' -> empty, 'i' -> empty + insert mode 2013-04-30 00:40:58 +02:00