remi-vimilicious 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/vimilicious.rb +3 -3
- data/vimilicious.gemspec +1 -1
- metadata +1 -1
data/lib/vimilicious.rb
CHANGED
@@ -87,14 +87,14 @@ def set_current_line text
|
|
87
87
|
current_buffer[ current_buffer.line_number ] = text.to_s
|
88
88
|
end
|
89
89
|
|
90
|
-
# deletes the current buffer (closes the file)
|
90
|
+
# deletes the current buffer (closes the file) but keeps the current layout
|
91
91
|
#
|
92
92
|
# :ruby clear
|
93
93
|
def clear
|
94
|
-
cmd '
|
94
|
+
cmd 'let kwbd_bn= bufnr("%")|enew|exe "bdel ".kwbd_bn|unlet kwbd_bn'
|
95
95
|
end
|
96
96
|
|
97
|
-
# forcefully deletes the current buffer
|
97
|
+
# forcefully deletes the current buffer and clears the wholelayout
|
98
98
|
#
|
99
99
|
# :ruby clear!
|
100
100
|
def clear!
|
data/vimilicious.gemspec
CHANGED