LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   mapping a function with key (http://www.linuxquestions.org/questions/linux-general-1/mapping-a-function-with-key-4175449201/)

RudraB 02-08-2013 01: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 02: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: https://www.linuxquestions.org/quest...ey-4175449202/

Reported for closure.


All times are GMT -5. The time now is 03:36 PM.