Commit graph

116 commits

Author SHA1 Message Date
Marco Hinz fc1999dcf7 Clear matches on opening entries 2013-10-22 20:17:57 +02:00
Marco Hinz 2bf1b5a1e0 Remove old and useless line 2013-10-22 19:16:59 +02:00
Marco Hinz 1d5d2458d2 Fix cursor handling with section headers 2013-10-22 14:42:31 +02:00
Marco Hinz ebe31cc63d Merge branch 'section-headers'
References #45.
2013-10-22 13:38:18 +02:00
Marco Hinz 0968e6669e Make section headers easier to customize 2013-10-22 13:36:29 +02:00
Marco Hinz fd174b8f2f Make cursor handling work with sections 2013-10-22 13:22:36 +02:00
Marco Hinz b7fe86e492 Add highlighting for section headers 2013-10-22 13:01:32 +02:00
Marco Hinz 55d7bec03a Revert "Bang normal commands"
I forgot that I used no bang on purpose here. I'm very sorry for the
inconvenience.

This reverts commit b63c09907d.

Closes #55.
2013-10-20 16:26:31 +02:00
Marco Hinz 0ed0cd7e73 Use full keywords 2013-10-18 19:50:23 +02:00
Marco Hinz c657a56659 Use the blackhole register for :delete 2013-10-18 19:41:42 +02:00
Marco Hinz b63c09907d Bang normal commands 2013-10-18 19:37:19 +02:00
Marco Hinz eacd402a52 Sessions: don't save options
sessionoptions=options is a source of many problems. Startify disables
it temporarily.

References #49.
2013-10-18 11:48:03 +02:00
Marco Hinz 48ed94400f Add context-sensitive section headers 2013-10-10 13:05:50 +02:00
Marco Hinz 446f7dbbff Move modelines from bottom to top 2013-09-24 17:41:31 +02:00
Marco Hinz 03810e9096 New options: g:startify_session_save{vars,cmds} 2013-09-24 17:38:52 +02:00
Asa Jay f8c60d9fd3 Force setting of filetype
In combination with certain plugins, the filetype wouldn't be set for
Startify, because a filetype was already set by another plugin in the
series of VimEnter autocmds.

Setting the filetype gets forced now.
2013-09-23 11:02:25 +02:00
Marco Hinz 33edf8d9dd Fix cursor handling #2 2013-09-20 15:28:21 +02:00
Marco Hinz 80c379980b Readd s:lastline 2013-09-20 14:23:20 +02:00
Marco Hinz 7a4b8bc340 Make cursor not wrap around
The wrap around feature was nice, but added too much code for what it
was worth. It also kind of defeated navigation by motions like }, gg
etc.
2013-09-20 11:07:34 +02:00
Marco Hinz eb6e522245 Fix cursor handling
The cursor wouldn't wrap around to the top entry when you hit 'j' on the
last one.
2013-09-20 02:35:19 +02:00
Matthew Boehm 11241aff4e Remove :1
This was used as a workaround for people setting 'lines' to a too high
value when using gvim.

References #31.
2013-09-20 01:43:56 +02:00
Marco Hinz 3fb8465c0f Silent "1 line less" message 2013-09-18 11:43:05 +02:00
Marco Hinz b47853f09d Avoid error when no footer is set
Closes #46.
2013-09-06 21:57:01 +02:00
Marco Hinz 9e6b819936 Bump version to 1.8 2013-09-04 09:38:53 +02:00
Marco Hinz 85ce548261 Add highlighting for custom footer 2013-09-04 09:25:33 +02:00
Marco Hinz 3b362f6514 Remove debug echo 2013-09-03 18:50:54 +02:00
Marco Hinz 6fd47ecea4 New option: g:startify_custom_footer 2013-09-03 00:08:17 +02:00
Marco Hinz 4f7d5aae53 Fix last line issue 2013-09-01 20:03:55 +02:00
Marco Hinz ddb4fce6b9 Make <insert> work like i 2013-08-31 21:41:32 +02:00
Marco Hinz d6932388c6 Merge pull request 42 from bling 2013-08-31 21:29:34 +02:00
Bailey Ling a64ee097d8 New option: g:startify_change_to_vcs_root 2013-08-31 21:28:11 +02:00
Marco Hinz a3021bd42b Fix comment typos 2013-08-22 19:54:46 +02:00
Marco Hinz 5a14004635 Refactor s:open_buffers() 2013-08-22 19:39:27 +02:00
Marco Hinz 26638b30d4 Introduce T for opening files in tabs
Closes #39.
2013-08-22 19:14:34 +02:00
Marco Hinz 68bbece773 Prevent marking sessions 2013-08-15 13:44:19 +02:00
Marco Hinz 0354319801 SSave: fix warning message 2013-08-13 14:19:51 +02:00
Marco Hinz b624d3a439 New option: g:startify_session_persistence
Whenever you load/save a session, v:this_session is set automatically.
If this option is enabled and v:this_session exists, the session file
will be updated before exiting Vim.

References #32.
2013-08-13 11:10:41 +02:00
Marco Hinz aa17311a94 Fix indexing for certain list orders
References #32.
2013-08-11 19:04:21 +02:00
Marco Hinz 8c09725d03 User some helper variables 2013-08-10 10:41:27 +02:00
Marco Hinz f8c9b7ddfe New option: g:startify_session_autoload 2013-08-10 09:05:02 +02:00
Marco Hinz fd7c52a05b Remove useless concatenation 2013-08-09 16:17:35 +02:00
Marco Hinz e52768a3d7 Change into dir also for bookmarked dirs
References #32.
2013-08-09 15:08:56 +02:00
Marco Hinz d9b44f32f7 Refactor open_buffers() pt2 2013-08-09 13:15:33 +02:00
Marco Hinz a71514a97b Refactor set_mark() and open_buffers() 2013-08-09 12:21:20 +02:00
Marco Hinz 888dcfbc0d New option: g:startify_session_detection 2013-08-08 17:53:40 +02:00
Marco Hinz cede7aec39 Fix the use of s:numfiles 2013-08-05 14:40:45 +02:00
Marco Hinz 516a92060e Bump to 1.7 2013-08-04 23:35:12 +02:00
Marco Hinz 22edae78d1 Merge branch 'restore-cursor-position' 2013-08-04 18:55:37 +02:00
Øystein Walle 7107538da0 Optionally restore cursor position
This uses the '" mark to restore the last cursor position when opening a
file, implemented as BufReadPost autocmd.
2013-08-04 18:51:47 +02:00
Marco Hinz 0d132390dd Fix enew handling
Closes #33.
2013-08-04 18:06:05 +02:00