-   Linux - General (
-   -   mapping a function with key (

RudraB 02-08-2013 12:45 PM

mapping a function with key
I want to made this function to be inserted at the present cursor position map :execute Insrt_frame() function! Insrt_frame() :put='\begin{frame}' :put='\frametitle{Motivation}' :put='' :put='\end{frame}' endfunction and after that, the cursor should go at the 3rd line of the function(the empty one). How can I do that?

druuna 02-09-2013 01:14 AM

Cross-posting is against the LQ rules. Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place.

Continue in the other/original thread:

Reported for closure.

All times are GMT -5. The time now is 07:32 AM.